Geeks With Blogs
Scott Lock Thoughts on .Net, Caparea.net and Windows Phone

I've been working heavily on creating a custom Process Template for XP development in TFS and came across a very basic task:  Add the process template source to source control.  After hours and hours of tweaking, editing, and debuing the core process templates I would hate to lose them.  Not to mention the process itself its an iterative process therefore should be versioned and managed by some control system.

Well, of course it is not quite as obvious as it seems.  In VSS it was pretty simple to add "non-project" files.  In TFS  anything that is not Visual Studio 2005 is considered "non-project".  Here are the step:

1.  Open Source Control Explorer - Also not quite as obvious as it should be - View...Other Windows...Source Control Explorer

2. Select a project from the TFS Server - You have to have a workspace in order to add files to the project.

3.  Add files - Again, not quite obvious - File...Source Control...Add Files. 

Documentation says that if you don't have a workspace cofigured you won't see the add files option.  How can you create a workspace if you don't have source control project folder?  Say I want to add "TFS Process Templates" as a source control folder add it to a workspace.  Doesn't seem quite obvious to me yet...stay tuned.

Posted on Thursday, July 5, 2007 1:38 PM TFS | Back to top


Comments on this post: Adding non-project files to TFS Source Control

# re: Adding non-project files to TFS Source Control
Requesting Gravatar...
Thanks - You're right, it's not as immediately obvious as it was in VSS. You saved me rooting out my TFS cookbook yet again...
Left by Mouxie on Aug 14, 2009 4:16 AM

# re: Adding non-project files to TFS Source Control
Requesting Gravatar...
To the point! Thanks!
Left by Tom on Jun 15, 2012 7:17 AM

# re: Adding non-project files to TFS Source Control
Requesting Gravatar...
You saved me hours of searching, many thanks!
Left by macnuts on Dec 19, 2012 6:41 AM

Your comment:
 (will show your gravatar)


Copyright © Scott Lock | Powered by: GeeksWithBlogs.net | Join free