VS 2010 中的“没有可用的编辑器"错误 [英] 'There is no editor available' error in VS 2010
问题描述
当我尝试在 VS 2010 中选择设计器视图时,出现此错误:
When I tried to select designer view in VS 2010 I get this error:
没有可用的编辑器'c:\user\teadrinkinggeek\documents\visual工作室2010\websites\website2\About.aspx'.
There is no editor available for 'c:\user\teadrinkinggeek\documents\visual studio 2010\websites\website2\About.aspx'.
确保文件的应用程序类型 (.aspx) 已安装.
Make sure the application for the file type (.aspx) is installed.
我打开了另一个网站,但错误仍然存在.
I opened a different website and the error is still there.
我该如何解决这个问题?
How do I resolve this?
推荐答案
我做了一个痛苦的"决定,卸载所有与 VS 2010 相关的东西,然后从头开始重新安装.经过 6 个小时的故障排除,再次重新安装 VS 2010,它成功了.
I made a ‘painful’ decision to uninstall all things related to VS 2010, and re-install from scratch. After 6 hours of troubleshooting, re-installing VS 2010 again, it worked.
注意:我最初将 Visual Web Developer 与 VS 2010 并排运行.我也卸载了该软件包.也许这两个包导致了问题?然而,我在 Twitter 上与一位开发人员进行了交谈,他说他对两个包并排工作没有任何问题.也许这是我最初安装它们的方式.
Note: I initially run Visual Web Developer side-by-side with VS 2010. I uninstalled that package too. Maybe the two packages caused the problem? However I spoke to one developer on Twitter, he said he had no problem with both packages working side-by-side. Maybe it was the way I initially installed them.
如果您遇到同样的问题,请在卸载前备份您的工作、项目等,否则可能会遇到更多问题.
If you have the same problem, please backup your work, projects etc, before you uninstall, otherwise you might run into more problems.
这篇关于VS 2010 中的“没有可用的编辑器"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!