3
votes

I have a Visual Studio 2012 solution with about 30 C# projects. I'm setting the Output Path in Visual Studio to put all my Plugins in a Subdirectory of my Binary Directory.

How can I put my Plugins in the ..\Binary\Plugins\ Folder with TFS 2012 Buid?

3
There are some significant changes between TFS2010 and TFS2012. - Richard Liebmann
There are no significant differences in MSBuild however :) - DaveShaw

3 Answers

1
votes
1
votes

You could create a new solution just for the Plugins and build that.

TFS 2012 now comes with new build configuration option to set all solutions to output in their own directory.

  • Edit your Build Configuration
  • Click the Process tab
  • Expand Advanced
  • Set Solution Specific Build Outputs = true
0
votes

I have now created a move task to move my plgins after the build to the Plugins directory by calling the System.IO.File.Move Method. It's not a very nice solution but it works.