Creating and testing MSBuild scripts is not so easy. To help you, the MSBuild team created a series of blog posts that explain you how to debug your MSBuild scripts:
- Debugging MSBuild script with Visual Studio
- Debugging MSBuild script with Visual Studio (2)
- Debugging MSBuild script with Visual Studio (3)
A great starter to simplify MSBuild development!