Used to compile and execute code
Build and execute a C# project stored in the target XML file.
msbuild.exe {PATH:.xml}
Build and execute a C# project stored in the target csproj file.
msbuild.exe {PATH:.csproj}
Executes generated Logger DLL file with TargetLogger export.
msbuild.exe /logger:TargetLogger,{PATH_ABSOLUTE:.dll};MyParameters,Foo
Execute JScript/VBScript code through XML/XSL Transformation. Requires Visual Studio MSBuild v14.0+.
msbuild.exe {PATH:.proj}
By putting any valid msbuild.exe command-line options in an RSP file and calling it as above will interpret the options as if they were passed on the command line.
msbuild.exe @{PATH:.rsp}