NHibernate Intellisense for Visual Studio 2008

Want intellisense for NHibernate in Visual Studio 2008? It's easy, just download the NHibernate source here, and extract it somewhere. Go to the src/NHibernate folder and copy the following files:

  • nhibernate-configuration.xsd
  • nhibernate-mapping.xsd
  • nhibernate-generic.xsdPaste these files in the Xml/Schemas folder of your VS2008 installation folder. Usually this will be C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas.