简体   繁体   中英

No TFS-connection in Visual Studio Solution Explorer

Our project is on Visual Studio Team Services (was TFS Online) and we are using visual studio 2013, but I dont seem to have any connection from Solution Explorer to Team Services.

I have no problem opening Team Explorer-> Source Control Explorer and Get Latest, but when I open the .sln file in visual studio, it seems disconnected to Team Services in the sense that I cant find menu items like "Get Latest", "Check out" and so on. When I create new items in VS they aren't added to Team Services, I have to add them by using Source Control Explorer.

My mappings seems fine, they point to the folders where I have my source code locally.

So, how to I connect my VS to Visual Studio Team Services?

Under Source Control Explorer in VS, double click the .sln file, then go to Solution Explorer to check whether the files under the solution is source controlled.

Additionally, you can go to File--Source Control to see whether you can see "Get latest version" or "Check Out for Edit".

Open the File - Source Control - Manage Source Control and click Bind for each project in the solution.

Also make sure that Team Foundation Server is selected as the version control tools in Tools - Options - Source Control .

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