简体   繁体   中英

Steps to setup a new project using Visual Studio 2010 and Team Foundation Server 2010

I've been hardly searching info about working with VS and TFS, but after surfing a lot of webs and reading various blogs, I'm a bit confused about the steps I should follow to setup a new project. I think these below are basically the ones needed, but don't really know neither if something lefts nor the order to do them:

  • Create a new Team Project Collection
  • Create a new Team Project within the above collection
  • Setup a server folder structure
  • Create a new project in Visual Studio
  • Connect the project with TFS

Can someone help me?

Thanks in advance

Chances are you already have a Team Project Collection (TPC) named DefaultCollection. If not then you can only create new TPCs from the desktop of your TFS server using the TFS Administration Console.

You will need to create a new Team Project (TP) from Visual Studio 2010 (VS); If you are using it from Windows 7 or Server 2008 R2 then make sure you run VS 'elevated.'. This is performed by connecting to your TFS server using the Team Explorer tool in VS; then right click on the node at the top of Team Explorer and choose the option to create a new TP. Give it a name (you can't change the name later, BTW) and choose a template in the TP creation wizard; The Agile template seems to be the most popular. For the rest, choose the default values.

Now you have a project and can start using TFS...

If you want to use it for source control, then one easy way to get started is to open your solution in VS while connected to your new TP, right-click on it and select the option to add it to source control.

Hopefully, that's enough to get you started!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM