We use MSBuild quite extensively as part of our continuous integration process, and whilst it is incredibly powerful and we can do practically all of our build, test and deploym
Well if you're using custom tasks, you can utilize this approach: How To: Debug a custom MSBuild task using Visual Studio