Visual Studio 2008 TFS Shelve/Unshelve changes sto

2019-07-23 04:27发布

问题:

Greetings.

This is second time I've actually spotted this problem with VS 2008 TS with TFS addon installed on top.

The problem is that at some point, when you actively work with Shelve/Unshelve changes from TFS, the Shelve changes window (when you hit "Shelve" button) hangs and hangs whole VS.

After that, if you restart studio, the Shelve/Unshelve window just stops working. Any attempt to call for Shelve/Unshelve window hangs Studio completely.

Therefore, Shelving becomes unusable, but I really rely on this feature.

Anyone spotted this problem in practice? Any suggestion on fixing it? (I've trying to reinstall VS and TFS completely right now and in addition cleaning registry for VS)

Thanks!

回答1:

Problem fixed by taking a search in AppData folder of Windows for TFS cache entries. Deleting TFS cache (which look like to be corrupted) helps in resolving this problem.



回答2:

This can happen if TFS dialogs appear off-screen. If pressing Esc "unfreezes" visual studio, this might be your problem.

I found the fix at: http://www.imiscommunity.com/visual_studio_2008_hangs_tfs_compare_dialog_not_visible