Visual Studio 2010 now opens XSD files in design mode by default. I can't find any option for disabling this. Is there a way to always open XSD files in text mode?
2 Answers
Right click on an XSD file, choose "Open with..." and select the appropriate option - then click on "Set as Default" before you actually open it.
-
1This doesn't answer the question. XSD files are still opened with the same application (VS2010) in "Design" mode. How can you prevent VS from opening in Design mode and just go straight to the text?.. Sep 20, 2011 at 18:02
-
8@Peter: It does answer the question - if you pick the right option (e.g. "XML (Text) editor" and set it as the default then it will use that next time you double-click on the file in Solution Explorer. I've just tried it myself. Sep 20, 2011 at 18:05
-
My apologies, I misunderstood the answer and assumed the 'right-click' was to be done in windows explorer. You're right, this does work from within visual studio. Sep 20, 2011 at 18:13