Can I Use MSBuild Properties in the Config.daml

227
0
04-23-2020 04:31 AM
ChristianSchneider1
New Contributor II

Hi ArcGIS Pro SDK Team,

is it somehow possible to use MSBuild Properties in the Config.daml?

Specifically I am interested in the elements and attributes belonging to the AddInInfo element. We have things like author, company or version already specified in MSBuild properties because we need them during compile time for setting the neccessary attributes in the Assembly.Info or for setting values in the WiX Installer.

It would be nice to reuse this MSBuild properties in the Config.daml so that I do not have to the declare the same values twice (and redundant).

I know, I can write a custom MSBuild target that changes the values in the Config.daml at compile time but is there an easier way to do this?

Best regards,

Chris

0 Kudos
0 Replies