VS2011创建的ASP.Net网站程序查看网页怎么没有设计视图?
在VS2011中创建的网站程序,查看网页时只有源代码视图如下图,设计视图在哪里呢?
但是在VS2010中就有设计视图和源代码视图两种模式:
源代码视图:
设计视图:
[解决办法]
你那不是aspx页面吧
[解决办法]
你那个是cshtml文件,这个是什么东东?我还在用2008呢。
[解决办法]
Razor是mvc里面的东西吧,那个需要后台变量配合可能就没有视图了
[解决办法]
Razor视图引擎不支持WYSIWYG的设计视图。
[解决办法]
Posted by Microsoft on 26/07/2011 at 09:02
The design view is not planned to be enabled for Razor views. Instead other meassures to make it easier to work with the markup/code is being made. Thanks again for your feedback
来自:
http://connect.microsoft.com/VisualStudio/feedback/details/635052/allow-design-view-for-mvc3-and-razor-view-engine
[解决办法]