Passing multiple values to Wix DefineConstants property with MSBuild

后端 未结 12 1988
萌比男神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:05

    This worked for me and allowed me to pass in items with yet to be defined key value pairs. Not the most elegant but I'm not a coder.

    msbuild test.proj /p:PassedInProp="ProductVersion=45;rt=669;wewanttoknow=test5"

    
    
    
        
      
     
        
          
        
        
      
    
    

提交回复
热议问题