- Download the NHibernate source and go to the “src\NHibernate“ directory
- Copy nhibernate-configuration-2.0.xsd, nhibernate-mapping-2.0.xsd, and nhibernate-generic.xsd to the Visual Studio “schemas“ directory. By default, the schemas directory is “C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas“.
- Restart Visual Studio
That's it. No more hunting around and guessing what is valid NHibernate mapping or configuration xml syntax.
来自
http://blog.benday.com/archive/2006/01/15/3646.aspx
http://blogs.msdn.com/astebner/archive/2005/12/07/501466.aspx
转载于:https://www.cnblogs.com/wujun/archive/2006/10/20/534815.html