When I open XSD files in Visual Studio, some of them open up as diagram representations, while some open up as code.
How do I switch between the diagram view and code view?
When I open XSD files in Visual Studio, some of them open up as diagram representations, while some open up as code.
How do I switch between the diagram view and code view?
Right Click on the XSD file and choose View Code...
or F7 (Shift + F7 for designer)
In order to view the XSD as code in visual studio, you can right click on the document in the solution explorer, choose the Open With... From the menu that pops up, choose Xml Editor (or Xml (Text) editor if it's Visual studio 2010). This should open it in the source view.