VS2013 IDE不允许编辑文件 [英] VS2013 IDE disallowing editing of files
问题描述
今天,我打开了一个绑定到TFS的特定C#解决方案.我可以右键单击解决方案中的文件,然后检出文件.但是,当我打开.cs文件或.config文件并开始键入内容时,VS2013 IDE不会响应我的按键. 是 就像文件是只读的(即使不是).我尝试过重新启动IDE,并且遇到了同样的问题.
注意,我可以打开其他TFS绑定的解决方案并正常编辑文件. 这种解决方案有些奇怪.
请告知.
谢谢
斯科特_m,
至少如果其他解决方案运行良好,我们可以确保它不是VS IDE问题.
要确保它是否与您的解决方案相关,一个想法是您可以创建一个空白解决方案,然后将项目文件添加到新的空白解决方案中,清理并重建整个解决方案,然后再次对其进行编辑. /p>
或者您可以在解决方案文件夹中删除.suo文件,重新打开项目文件,然后可以检入和检出项目,然后再次进行编辑.
最好的问候,
Jack
Today I opened a particular C# solution that is bound to TFS. I can right click on a file in the solution and check out files. However, when I open a .cs file or a .config file and start typing, VS2013 IDE does not respond to my keystrokes. It's like the file is readonly (even though it isn't). I have tried restarting the IDE and same problem.
Note, I can open other TFS bound solutions and edit the files normally. Something is wonky with this solution.
please advise.
thanks
Hi scott_m,
If other solutions worked well, at least, we could make sure that it is not the VS IDE issue.
To make sure that whether it is related to your solution, one idea is that you could create a blank solution, and then add the project files to the new blank solution, clean and rebuild the whole solution, edit it again.
Or you could remvoe .suo file in your solution folder, re-open the project file, and then you could check in and check out your project, edit it again.
Best Regards,
Jack
这篇关于VS2013 IDE不允许编辑文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!