[PSS 2016]Make Content and Command Extension non-exclusive

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
This topic is 7 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
Bosparan
Posts: 290
Last visit: Fri Oct 08, 2021 11:59 am

[PSS 2016]Make Content and Command Extension non-exclusive

Post by Bosparan »

Hi guys,

When I set a file in a project to build type "Content" its 'Command Extension' cannot be set to true. This may make sense in a compiled project, but ... in a module project it's a problem:
  • To include a file in the module when it is being deployed, its build type must be set to "Content"
  • Logically, all functions in a module can call each other
The result is that I either ...
  • ... cannot receive Primal Sense on Module functions
  • ... cannot use the PSS Deploy features
  • ... have to automate changing its type before deployment (and change it back afterwards)
With that in mind, I considered the best way around this and came to what I believe to be the best solution:
Disable the contradiction of Build Type versus Command Extension. Add a warning for non-module projects that are configured that way.

In Modules it is plain bad. In other projects, the contradiction usually applies. But not always, as there are exceptions to all rules. In those cases, users should be able to do this, but a warning becomes necessary for users unaware of the consequences.

Cheers,
Bosparan
This topic is 7 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked