visual-studiovisual-studio-2015tfsunshelve

Unshelve throws "No appropriate mapping exists" error then works when I try again


I am getting the aforementioned error most times I unshelve from Team Explorer > Shelveset Details, but unlike this question, I have my workspace set correctly under my Pending Changes window. The weird part is that I am always able to unshelve after trying a second time without changing anything.

It didn't always do this to me, and it seems to not affect anybody else on my team. I've not messed with any settings that I can think of as being relevant either.

And yes, I've restarted my computer since it started happening.

Another thing it does is deletes all ADD changes upon reconciling after passing a gated check-in build.

Thanks.

Using VS 2015 Update 3 (version 14.0.25431.01) connected to TFS 2015 (version 14.102.25423.0)


Solution

  • It turns out that opening the shelfset before changing my workspace from pending changes causes the issue. The solution is the change the workspace in pending changes before opening the shelfset.

    I'd definitely call this a bug in VS since the shelfset viewer does not indicate which workspace it is referencing before unshelving.