IntelliSense for NHibernate

It seems like quite a few frameworks seem to be missing the intellisense support out of the box – tis is very unfortunate.

Just like the Windows Communication Foundation NHibernate seems to be missing intellisense as well. But there is hope!

You basically need the NHibernate schema definitions (nhibernate-configuration-2.0.xsd, nhibernate-mapping-2.0.xsd and nhibernate-generic.xsd) and copy them into the Visual Studio “schemas” directory (the default path is C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas).

At last you might want to restart your Visual Studio.

Leave a Comment.