Depends on the platform (x86 or 64) you define, you can find the MSbuild scripts actually being executed when compiling each project under the following directories

  • x86 – C:\Windows\Microsoft.NET\Framework\v4.0.30319
  • x64 – C:\Windows\Microsoft.NET\Framework64\v4.0.30319

The CoreCompile task is defined in Microsoft.CSharp.target file which will import Microsoft.Common.target. For web applications, it is defined under C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.target

You can use either places to customize your own build processes instead of modifying build templates (why? that’s another topic).

 

Advertisements