I have a need to make two versions of my add-in for branding purposes. The captions of some tabs, buttons, etc. would include either the brand1 name or the brand2 name in their captions based upon the version of my add-in. I would like to do this without resorting to two versions of config.daml. I used compiler directives to achieve this when making extensions for ArcMap. Unfortunately it seems that compiler directives can't be used in the config.daml file. It also seems that only hard-coded strings for caption names. I know that you can use the plugin wrapper to change the captions of some controls at run-time, but this requires having the module autoload which goes against the principles of loading only modules that are being used. Also, the plugin wrapper doesn't work on a backstage tab.
Has anyone else faced the same problem. If so, I'd be interested in hearing your workaround.
Thanks