无法在 Visual Studio 2013 中编辑签出文件 (TFS) [英] Cannot edit checked out file (TFS) in Visual Studio 2013

查看:19
本文介绍了无法在 Visual Studio 2013 中编辑签出文件 (TFS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我更改了 Windows 密码后,我无法再在 Visual Studio 2013 中输入已检出的文件!以前我只需要开始打字,它就会在后台检出文件,现在它甚至不允许我在我手动检出文件后输入文件,从解决方案资源管理器!就好像 VS 2013 在源代码控制下忽略项目上的键盘一样.即使项目在源代码控制下,它也适用于其他项目!

Since I changed my windows password I can no longer type into a checked out file in Visual Studio 2013! Where before I just needed to start typing and it would check out the file in the background, now it won't even allow me to type into the file after I manually check the file out, from the solution explorer! It's as if VS 2013 is ignoring the keyboard on the project under source control. It's fine for other projects even project's under source control!

我想我记得以前在旧版本的 Visual Studio 中看到过这个问题,并使用上线"选项解决了这个问题,但我在 VS 2013 中看不到该选项,或者项目不是离线"所以选项不可用.

I think I remember seeing this before with older versions of Visual Studio and resolved it with a "Go online" option but I can't see that option in VS 2013, or the project is not "off line" so the option is not available.

这显然与项目中的 TFS 设置有关,但我根本无法克服它.我被阻止,希望得到任何建议.

This is obviously related to the TFS setting on the project but I simply cannot get past it. I am blocked and would appreciate any suggestions.

推荐答案

我暂停了 Resharper 并重新启动了 Visual Studio 2013.一旦我重新打开它,问题就消失了.恢复 Resharper 导致问题再次出现.

I suspended Resharper and restarted Visual Studio 2013. Once I reopened it the problem was gone. Resuming Resharper caused the problem to emerge again.

解决方案非常大,所以也许就是这样.在将 Resharper 置于挂起模式之前,我尝试关闭代码分析,认为工作量太大了,但这并没有帮助.暂停确实如此.我希望这可以帮助其他有同样问题的人.

The solution is quite large so maybe that is it. Before putting Resharper into suspend mode I tried switching off code analysis thinking the workload is just too great, but that didn't help. The suspend did though. I hope this helps anyone else with the same issue.

我现在要做的就是想办法让 Resharper 重新回到游戏中,而不会再出现问题.我们依赖 Resharper,因为它是一个很棒的工具.由于该解决方案中有许多项目,我将尝试使用我的 Web 项目创建一个较小的解决方案,并将其他项目作为程序集引用.也许这会有所帮助

All I have to do now is to figure out how to get Resharper back in the game without the problem coming back. We rely on Resharper as it is an wonderful tool. Since the solution has many projects in it, I am going to try create a smaller solution with my web project and just reference the other projects as assemblies. Maybe that will help

更新:按照 Alexander 的建议清除 resharper 缓存解决了原始问题.

Update: Clearing the resharper cache as suggested by Alexander resolved the original issue.

这篇关于无法在 Visual Studio 2013 中编辑签出文件 (TFS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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