I used xsd.exe to generate a schema file for some XML. I want to include that schema file in my C# project in Visual Studio, but every time I add the .xsd file to my project and then double-click it to open it, Visual Studio creates these .xss and .xsc files for my .xsd file and it alters my .xsd file. How can I get it to stop automagically doing this and altering my schema?
views:
54answers:
2
A:
If you're okay with just dealing with the raw XML
Right-Click the XSD, choose Open With.
In the dialog, choose XML editor and Click 'Set as Default.'
Jacob G
2010-07-20 15:51:30