How do you check in code for the first time in Team Foundation Server?
I created a local path, dropped some code in it, now what? Hitting refresh doesn't help.
How do you check in code for the first time in Team Foundation Server?
I created a local path, dropped some code in it, now what? Hitting refresh doesn't help.
you have to right-click on the solution in your project explorer and select "Add project to source control". Then it will walk you through the process of adding it to TFS.
If you just want to add files to source control without using a solution, then you need to actually add them to TFS. TFS will only show the files it knows about in source control.
In the Source Control Explorer window there should be an add file button. You can hit that and use it to add files/folders to source control.
I would also suggest you install the latest edition of Power Tools for TFS - which includes the Windows Explorer Shell (you need to select custom install for that). This will add a context menu in Windows Explorer for directories that are mapped to a Workspace - so you won't have to start Visual Studio to do simple file manipulation like this.
The download is here: http://msdn.microsoft.com/en-us/tfs2008/bb980963.aspx