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.