How to download TFS shelveset

If you just need to get the files from the shelveset to your local folder, this is a normal process and called Unshelve.
It downloads the files to your local folder.

enter image description here

For example, before unshelve you had the following in your local folder:

  • File 1
  • File 2

The shelveset has:

  • File 1 (Modified)
  • File 3 (Created)

After unshelve there will be:

  • File 1 (Updated)
  • File 2
  • File 3 (Added)

If you need to have only the files from the shelveset in your workspace folder without anything else, one of the ways would be:

  1. Create new workspace, but do not download anything (i.e. do not get the latest version)
  2. That should create an empty local folder
  3. Do unshelve by using either Visual Studio or tf.exe
  4. You should have only the files from the shelveset

You can find more about managing shelvesets here:
Suspend Your Work and Manage Your Shelvesets (MSDN)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)