Passing multiple values to Wix DefineConstants property with MSBuild

后端 未结 12 1993
萌比男神i
萌比男神i 2020-12-08 05:42

I\'m currently integrating my Wix projects in MSBuild. It is necessary for me to pass multiple values to the Wix project. One value will work (ProductVersion in the sample b

12条回答
  •  我在风中等你
    2020-12-08 06:15

    Why are you specifying DefineContstants=ProductVersion=XXXXXX?

    For DefineConstants you are not assigning values, either a constant (like DEBUG or TRACE) is defined or it is not. This property relates to the /define C# compiler switch. What are you really trying to do?

    Also I'm not sure what you mean when you say tha my blog post is a "hack" the fact that it was built twice is the whole point.

    Sayed Ibrahim Hashimi

    My Book: Inside the Microsoft Build Engine : Using MSBuild and Team Foundation Build

提交回复
热议问题