c# - What msbuild reserved types/variables already exist for use in a .csproj? -


in .csproj file there some...shortcuts? system variables? things. (found near top of file):

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

but there seem more options $(configuration) , $(platform). i've found following in file:

@(mainassembly) @(_debugsymbolsoutputpath) $(msbuildtoolspath) $(outdir) $(copybuildoutputtooutputdirectory) $(projectdir) $(_debugsymbolsproduced) $(skipcopybuildproduct) $(platform) $(configuration) 

i don't want make own variables or that, want know reserved types exist use.

edit found answer looking for, in microsoft.build.commontypes.xsd contains things this.

what seeing here called msbuild properties. it's easiest think of msbuild scripting language build , these variables in language. variables in language user free introduce new ones hence there no real concept of "all valid commands". users can define more hence set of valid commands virtually infinite

there number of known , reserved properties though. may looking

msbuild reserved , known properties


Comments