问题
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:
- In Solution Explorer, right-click on the file you wish to open.
- Choose Open With from the pop-up menu.
- 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