When you use MSBuild, a handful of properties are available to you out of the box that cannot be modified. These are known as reserved properties. Following table presents all reserved properties in MSBuild 4.
To debug msbuild build failures, you can run following from VS command prompt to get more build log output msbuild /v:diag <solutionname> If you want to log messages for debug during build, you can use Message tasks. For example, use Message task inside a target <Target Name="DisplayMessages"> <Message Text="Project File Name = $(MSBuildProjectFile)" />…