Can anybody find the TFS "Unshelve" option in Visual Studio 2012?

TfsVisual Studio-2012

Tfs Problem Overview


I can find the shelve button okay, and had shelved changes earlier today, but now I can't seem to find a way to unshelve them! This has left me in quite a predicament!

If this button is in fact missing in the Visual Studio 11 Beta, perhaps there is a console based TFS command I can execute to temporarily accomplish this?

Thanks all, I actually can't find an answer on Google for this either.

Tfs Solutions


Solution 1 - Tfs

Go to Team Explorer, then "Pending Changes", then "Actions", then "Find Shelvesets", then right click on the shelve you want to unshelve, finally "Unshelve".

Solution 2 - Tfs

Also :

File > Source Control > Find > Find Shelvesets

Solution 3 - Tfs

I always used to right-click on the solution and choose "Unshelve". To add this functionality back:

  1. Click on the menu "Tools > Customize". This opens the "Customize" dialog.
  2. Select the "Commands" tab.
  3. Choose the "Context menu" radio button in the "Choose a menu or toolbar to rearrange" section.
  4. Choose "Project and Solution Context Menus | Solution | Source Control" from the drop down.
  5. Click the "Add Command" button. This opens the "Add Command" dialog.
  6. Choose "File" in the "Categories" list.
  7. Choose "TfsUnshelvePendingChanges" in the "Commands" list.
  8. Click the "OK" button to close the "Add Command" dialog.
  9. Use the "Move Down" button to place the new menu item in the proper place.
  10. Click the "Close" button to close the "Customize" dialog.

Solution 4 - Tfs

Generally if you can't find an option among the thousands available in Visual Studio there is a very useful "Quick Launch" (Ctrl-Q) function. In this case if you type "shelve" it will show you where to find shelvesets.

Solution 5 - Tfs

Just like to add to Nock's answer that you can only see the unshelve option if you open a solution under source control.

You will not see the option if you open a blank solution, regardless if your Visual Studio workspace is connected to Team Foundation or not.

This is how it looks like if you tried unshelving a shelveset in a blank solution (with TFS connected to your Visual Studio workspace and source control all connected), where there isn't an option to unshelve from source control.

Blank Solution with TFS Connected

This is how it looks like with a solution under source control opened.

Unshelve option

Moral of the answer is to open any solution/project you may have that is under the source control which has the shelveset you want to unshelve.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionGONealeView Question on Stackoverflow
Solution 1 - TfsNockView Answer on Stackoverflow
Solution 2 - TfsSylvain RodrigueView Answer on Stackoverflow
Solution 3 - TfsGregView Answer on Stackoverflow
Solution 4 - TfsAndrzej MartynaView Answer on Stackoverflow
Solution 5 - TfsmatrixanomalyView Answer on Stackoverflow