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

查看:126
本文介绍了无法在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 Studio2013。重新打开它之后,问题就消失了。恢复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

更新:
按照亚历山大的建议清除重新共享缓存可以解决原始问题。

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

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

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