Creating A Project And Adding It To Source Control
In VS2005, I selected File->New->Project. Under Project Types I chose Visual C#, and Windows Application. I entered "HelloGumbi" as the project name, and did NOT check the "Add to Source Control" checkbox. I clicked the OK button to create the project:
Figure 1 - New Project Window
The new project was created and displayed in the Solution Explorer. I right-clicked on the solution, and selected "Add To Source Control". This opened the "Add Solution To Hatteras" window:
Figure 2 - Add Solution To Hatteras Window
It defaults to the Team Project I have already created. The folder name defaults to the solution name of my project. I took the defaults and clicked the Next button. This opens the next page of the wizard:
Figure 3 - Add Solution To Hatteras Step 2
On this windows you can change the name of the repository folders, if you want to. I took the defaults and clicked Finish. A progress window opens, showing the progess of adding the project into the version control system. Once the project has been added, the progess window closes, and the IDE looks as follows:
Figure 4 - IDE After Adding Project To Source Control
Notice all the files have + signs beside them in the solution explorer. They are waiting to be checked in. In the Pending Checkin window at the bottom of the IDE, I click the Checkin button. I recieve a message telling me to add a value to the Code Reviewer, so I did this and clicked the Checkin button again. My files were checked into Hatteras, and the IDE now looks like this:
Figure 5 - IDE State After Check In
Notice the little blue locks by the files in the Solution Explorer, showing they are currently checked into Hatteras.
Up Next: I start trying to check out files.