Wednesday, June 23, 2010

Setting a Property in MSBUILD

Build a debug:

C:\>msbuild BuildAll.proj /property:Configuration="Debug"

Build a release:

C:\>msbuild BuildAll.proj /property:Configuration="Release"

Build for a given target:

C:\>msbuild BuildAll.proj /property:Configuration="Release" /t:TargetName

No comments: