Welcome to MSDN Blogs Sign in | Join | Help

How to Build TFS Build Locally?

If you need to test your TFS build after playing around with the TFSBuild.proj, you can do that by do the following:

  • Synchronize the source control to your workspace.
  • Open Visual Studio 2005 Command Prompt (or Visual Studio 2008 Command Prompt), located under Start>Microsoft Visual Studio 2005>Visual Studio Tools.
  • Change the directory into your TFSBuild.proj.
  • Call MSBuild by passing several parameters as follow: MSBuild TFSBuild.proj /p:SolutionRoot=..\..
  • If you need to test how the build will drop the binaries, pass an extra parameter, for example: MSBuild /p:SolutionRoot=..\.. /p:BinariesRoot=d:\Drop\Binaries\BuildTest

This post was created to help people who search for this information using different keywords, for more detail, MSDN link is here.

Published Tuesday, March 11, 2008 10:53 AM by HelloWorld

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MSDN Blog Postings » How to Build TFS Build Locally?

Tuesday, March 11, 2008 7:21 AM by MSDN Blog Postings » How to Build TFS Build Locally?

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker