You can put assemblies in profiles , so they will only be generated when the owner profile is activated. You have various options for activating a profile based on the presence or value of properties or files. You can group more than one assembly into a profile if you always generate them together.
source
share