IT:AD:MSBuild

MSBuild Syntax

To be able to do anything with MSBuild, need to know the syntax first:

Tools

Extensions

There are several MSBuild Task Libraries out there. Each has their pros/cons.

  • Community TFS Build Extensions
    • Of note:
      • WiX MSI Setup Package (WiX)
      • Sandcastle Documentation
  • MSBuild Extension Pack
    • Of note:
    • VisualStudio/TFSVersion
    • Communication: Email/Twitter
    • FxCop/NUnit/StyleCop
    • Security/Certificates
    • SqlExecute/SqlCmd
    • Note: Don't see any integration with Hg
    • Usage:
    • Install both .NET 3.5 and .NET 4.0
    • Import the lib:

<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>

Ref: