Add an XML schema to Visual Studio
app-config, configuration-files, visual-studio, xsd
Solution
Yes it is possible to do this. You need to associate the schema with the document and the XML editor will then provide intellisense. The following links go over how to achieve this
- http://msdn.microsoft.com/en-us/library/ms255811.aspx
- http://msdn.microsoft.com/en-us/library/ms255815.aspx
Problem
I want Intellisense support when writing App.config sections or XML configuration files for components like NHibernate, log4net, or Unity. What options do I have to get Visual Studio to find these files and load Intellisense? (Assume we have the schema file.)