Visual Studio 2012 - where has ASPX design and split view gone?

一个人想着一个人 提交于 2019-12-23 06:59:05

问题


Just started a new web forms project in Visual Studio 2012.

Opened my aspx page in 2012 and there is no Split or Design View?

I am using the RTM version.

Have they honestly taken this out? If not, where can I find them?


回答1:


Follow theses steps

Go to Tools --> Select Options

Tick the box at the bottom of this dialog: Show all settings.

Select HTML Designer --> Enable HTML designer




回答2:


For those using Visual Studio 2015:

  1. In Solution Explorer, right-click on the file you wish to open.
  2. Choose Open With from the pop-up menu.
  3. In the Open With dialog box, choose HTML (Web Forms) Editor, optionally click the Set as Default button, and click the OK button.

Apparently the HTML (Web Forms) Editor has Design, Split, and Source tabs but the HTML Editor does not. HTML Editor seems to be the default editor for Razor and plain HTML files.




回答3:


For VS 2017/2019 Go to Tools -> Settings -> Web Forms Designer and click on the "Enable Web Forms designer" option



来源:https://stackoverflow.com/questions/12178359/visual-studio-2012-where-has-aspx-design-and-split-view-gone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!