Visual Studio 2015 and TFS - all excluded changes are automatically included

I used TFS perfectly with Visual Studio 2013. I recently switched to VS 2015 and you had a nasty problem (bug?).

I have a bunch of excluded pending changes that I don't want to comment on, but want to save locally (poor dev environment, don't ask). My problem is that every time I re-open VS 2015, all excluded changes return to the included changes, and I have to manually re-exclude everything that I do not want to be perfect.

If I open VS 2013, the included / excluded changes are still in perfect condition! Does anyone know what causes this mess in VS 2015?

+4
source share
2 answers

I just tested this in Visual Studio2015 Update2 and TFS2015 Update3 with about 300 files in the excluded list. Everything works as a prefect.

This may be due to your VS. First lay out your excluded list and try to clear the TFS and VS cache. Then just reinstall the files and add them to the excluded list again. If it still does not work, try uninstalling and reinstalling VS.

+1
source

I had this problem with Visual Studio 2013. To fix this, all I did was:

  • Make sure all my planned changes have been delayed.
  • Discard all pending changes
  • Close Visual Studio
  • TFS C:\Users\ Username\AppData\Local\Microsoft\Team Foundation\5.0\Cache ( Windows)
  • Reopen Visual Studio
  • .

Voila! " " !

-1

Source: https://habr.com/ru/post/1649306/


All Articles