编辑在运行系统视图 [英] Edit a view in Runtime
问题描述
我发展与ASP MVC 3剃须刀在VS2010 SP1网站。
I'm developing a website with ASP MVC 3 and Razor in VS2010 SP1.
当我运行从VS的部位,如果视图是在IDE中打开,我可以编辑在运行时视图,preSS F5以显示更改,但如果我打开视图运行后,网站,那么该视图被锁定(没有消息,我简直可以在VS编辑器编写)
When I'm running the site from VS, if the view was open in the IDE, I can edit a view in runtime, and press F5 to show the changes, but if I open the view after run the site, then the view is locked (no message, simply I can write in the VS Editor)
当我停止debuggin的解决方案,被锁定的看法保持锁定状态,我必须以修改code再次关闭文件并打开ID。
When I stop debuggin the solution, the views that are locked remains locked, and I have to close the file and open id again in order to modify the code.
此行为是不舒服。谁能告诉我为什么有时我可以在VS2010的编辑器和其他时间写我不能?
This behaviour is uncomfortable. Can anyone tell me why sometimes I can write in the VS2010 editor and other times I can't?
其他注意事项:
- 的TFS是没有问题的。
- 它发生在我的办公室的所有VS 2012 SP1。
- 它只发生在vb.net的项目,而不是在C#proyects。
- 它没有发生在VS2012。
- 我已经停用所有的扩展。
感谢。
推荐答案
一年多的痛苦这个问题后,找到了解决办法。
After more than a year suffering this problem, a solution was found.
这MS修补程序VS2010SP1解决的问题。
This MS HotFix for VS2010SP1 solved the issue.
的http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=40811
这篇关于编辑在运行系统视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!