user3716312
user3716312

Reputation: 181

How do I "get latest version" for TFS in Visual Studio 2015 RC

This might seem like a stupid question but I just installed VS 2015 RC and I cannot for the life of me figure out how I'm supposed to get the latest version from Team Foundation Server now. It seems the option has been removed from all right-mouse context menus, including Check in... and all other other TFS related menu items.

Upvotes: 18

Views: 24670

Answers (4)

zia sheikh
zia sheikh

Reputation: 21

I had the same problem, to find solution please follow the below steps:

1. In the "Team Explorer" window ( If it's not visible, you can open it by clicking on "View" in the menu and selecting "Team Explorer") click on the "Home" icon to go to the Home page and click on "Source Control Explorer."

2. In the "Source Control Explorer," navigate to the folder or branch from which you want to get the latest code.

3. Right-click on the folder or solution and select "Get Latest Version."

4. If you have any pending changes in your local workspace, you might need to check them in or stash them before getting Get Latest Version. This ensures that your changes are not overwritten.

5. After getting the latest version, check the "Output" window for any messages or conflicts that might have occurred during the process. Resolve any conflicts if necessary.

6. It's a good practice to build and test your solution to ensure that everything is working correctly.

Upvotes: 0

Mady
Mady

Reputation: 459

I had a similar issue where "Get Latest version" option was missing when I right click on the project in Solution Explorer view.

To bind a solution or project to source control

  1. In Visual Studio 2015, open Solution Explorer and select a solution or project to bind.

  2. On the File menu, click Source Control, the Advanced, and then select Change Source Control. You will see below window. And if you notice the last project does not have Server information.

    enter image description here

  3. In the Change Source Control dialog box, click Bind. If you are already connect to server like in my case it will bind the project. Else, click connect, and click bind, and click OK.

  4. Once you click ok, you will be shown a CheckOut window like below. Click CheckOut.enter image description here

Upvotes: 3

dumbledad
dumbledad

Reputation: 17527

I had the same problem. The 'get latest version' option was missing from the right-click menu in the Solution Explorer

and from the right-click menu in the Source Control Explorer

And (as Sam mentions) I was seeing odd non-Roman characters in the TFS options

Sam's answer works for me, but just for completeness sake there is a 'get latest version' icon (a grey clock with a blue arrow pointing down on it) in the Source Control Explorer's menu bar.

get latest icon

If an item (a folder or a file) is selected in the Source Control Explorer then clicking the icon will retrieve the latest version from TFS recursively. This worked for me even before running repair (though clearly running repair is a better idea!)

Upvotes: 6

Sam
Sam

Reputation: 679

You can resolve the issue by running a repair on Visual Studio 2015 (via Add or remove Programs). I had the same TFS menu problems as the original poster as well as 'Chinese' characters in many of my popup menus (in Tools>Options).

Microsoft mentioned on the feedback site that running a repair fixes this and it indeed does seem to work - even though it's a bit daft to have to run a repair minutes after an installation. The repair must do something to clean up those old pieces that the installation doesn't do.

Upvotes: 18

Related Questions