Does Msbuild recognise any build configurations other than DEBUG|RELEASE

后端 未结 4 666
臣服心动
臣服心动 2021-01-03 20:49

I created a configuration named Test via Visual Studio which currently just takes all of DEBUG settings, however I employ compiler conditions to determine some specific acti

4条回答
  •  囚心锁ツ
    2021-01-03 21:32

    Normally what I do to have Release and Debug both build from a single MSBuild script is:

    
      Debug;Release
    
    

    Then add this but of MSBuild secret sauce:

       
         
           
         
       
    

    And then for each target do something like this:

      
        
      
    

提交回复
热议问题