WIX HeatDirectory Task - Setting the preprocessorVariable

后端 未结 6 1254
难免孤独
难免孤独 2020-12-24 15:32

I\'m trying to set the preprocessor variable in wix and i\'m unable to find an example of this or explanation on how to do it anywhere on the internet, i\'m hoping somebody

6条回答
  •  一个人的身影
    2020-12-24 16:11

    There is a $(HeatDefinitions) property you can set to define these in the parent .wixproj file:

    
          
            MySourcePath=..\src\Your.App\bin\Release 
        
    
        
            
            
        
    
        
            
        
    
    

    The only existing mention of this magic property I can find (on the entire Internet) is in a single question about Team Build on the wix-users mailing list. I stumbled across it by luck after spending nearly a day tearing out my hair trying to fix undefined preprocessor variable errors.

提交回复
热议问题