How to create a project inside VS2010 and add it to TFS2010.
To create a new project and add it to TFS, we receive the following error:
This is because we did not create team project for the project and added it directly to team project collections, which is not allowed.
The specific steps should be:
1. In the TFS Management Console, new team project collection YFS, if not created, is put into defaultcollection by default.
2. In Visual Studio, connect TFS, under Team Project collection, select TFS Management Module Agile, and create a new team project.
3. Move your project into the team project.
Specific as follows:
1. In the TFS Management Console, create a new team project collection.
2. Let's create a team Project:
Enter a name and description for team project:
Click Next to select the process template, the default is the agile template, you can also choose the CMMI template, here I chose the agile for MSF 5.0 template, MSF for Agile Software Development 5.0 Process framework, is based on the scrum model-oriented extension, and combines many of the testing features of the VSTS2010 tool for more engaging Microsoft. NET technology-related developers to achieve high-quality software products:
Confirm the project Settings
Start creating a project
After successful creation, click Close to end.
Now, with VS2010 's team explore, you can see the project you just created, with three parts of work items,builds and source Control:
3. You can now add the project you just created to the project in TFS:
Create a folder inside TFS to store our vs project
Press the OK button to add our project to TFS, and the project is not actually committed to TFS, you can see a "+" in front of the file
Now that we've submitted the code to TFS, Check in is a little bit more descriptive.
How to migrate the project Files of Visual Studio 2010 into TFS2010 Management