View XSD as code

When I open XSD files in Visual Studio, some of them open as diagram views, and some open as code.

How to switch between chart view and code view?

+3
source share
4 answers

In the XML Schema Explorer, click the element whose name is the name of the file, and then right-click and there you will see "View Code". To do this, you do not need the file to be part of your solution.

You can open the XML Schema Explorer either from the view menu or from the designer.

+5
source

XSD visual studio, , ... Xml ( Xml (), Visual Studio 2010). .

+3

XSD View Code... F7 (Shift + F7 )

+1

, " XML-" . " XML-" " " → filename.xsd " " .

+1

Source: https://habr.com/ru/post/1755003/


All Articles