msbuild - MS Build Conditions -


i have couple of conditional statements in property group of project:

<propertygroup>     <configuration condition=" '$(configuration)' == '' ">debug</configuration>     <platform condition=" '$(platform)' == '' ">x86</platform> </propertygroup> 

i trying figure out mean? condition = blank , platform = blank? tags have actual data? how interpret?

does mean configuration can , platform can anything, or mean property group applies configuration=debug|platform=x86?

if assumption correct, can copy entire property group , set values configuration , platform release , anycpu follows:

<propertygroup>     <configuration condition=" '$(configuration)' == '' ">release</configuration>     <platform condition=" '$(platform)' == '' ">anycpu</platform> </propertygroup> 

thanks!

if property configuration == '' set debug same platform in effect setting default when 1 not specified


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -