Search code examples
visual-studioxsdapp-configconfiguration-files

Add an XML schema to Visual Studio


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.)


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