Friday, October 4, 2013

Override the TFS Team Build OutDir property in .NET 4.5

Fighting against TFS Build default OutDir for binaries like:

  • <drop>/Binaries (TFS 2010)
  • <drop>/bin (TFS 2012, TFS 2013)

Instead you want to have for each project a separate folder like this:

  • <drop>/<projectname>/*.dll

Thanks to .Net 4.5 there is an easy solution to solve this

Pass the following MSBuild-Argument to your BuildProcessTemplate:

/p:GenerateProjectSpecificOutputFolder=true

Source: http://blog.stangroome.com/2012/05/10/override-the-tfs-team-build-outdir-property-net-4-5/

No comments:

Post a Comment