Used to compile and execute code
Build and execute a C# project stored in the target XML file.
msbuild.exe {PATH:.xml}
Compile and run code
Build and execute a C# project stored in the target csproj file.
msbuild.exe {PATH:.csproj}
Compile and run code
Executes generated Logger DLL file with TargetLogger export.
msbuild.exe /logger:TargetLogger,{PATH_ABSOLUTE:.dll};MyParameters,Foo
Execute DLL
Execute JScript/VBScript code through XML/XSL Transformation. Requires Visual Studio MSBuild v14.0+.
msbuild.exe {PATH:.proj}
Execute project file that contains XslTransformation tag parameters
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}
Bypass command-line based detections