Visual Studio 2015和TFS-所有排除的更改将自动包含在内 [英] Visual Studio 2015 and TFS - All excluded changes being included back automatically

查看:214
本文介绍了Visual Studio 2015和TFS-所有排除的更改将自动包含在内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2013上使用TFS很好.最近我切换到VS 2015,遇到了一个令人讨厌的问题(错误?).

I was using TFS fine with Visual Studio 2013. I've switched recently to VS 2015 and have an annoying issue (bug ?).

我有一堆我不想提交但我想保留在本地的未决更改(坏的开发环境,不要问). 我的问题是,每次我重新打开VS 2015时,所有排除的更改都将重新包含到包含的更改中,并且我必须手动重新排除所有我不想提交的内容.

I have a bunch of excluded pending changes that I do not want to commit but that I want to keep locally (bad dev environment, don't ask). My issue is that everytime I re-open VS 2015, all excluded changes are back into the included changes and I have to manually re-exclude all the stuff I do not want to be committed.

如果我打开VS 2013,则包含/排除的更改仍处于完美状态! 谁知道是什么原因导致VS 2015如此混乱?

If I open VS 2013, included/excluded changes are still in the perfect state ! Anyone knows what is causing VS 2015 to be such a mess ?

推荐答案

我刚刚在Visual Studio2015 Update2和TFS2015 Update3下测试了此文件,排除列表中约有300个文件.一切正常,完美无缺.

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

这可能与您的VS有关.首先搁置您的排除列表,然后尝试

It's may related to the your VS. First shelveset your excluded list and try to clear TFS and VS cache. Then just unshelveset the files and adding them back to excluded list again. If it's still not work, try to uninstall and reinstall your VS.

这篇关于Visual Studio 2015和TFS-所有排除的更改将自动包含在内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆