How can we a开发者_JAVA百科dd IntelliSense to visual studio in time of nhibernate mapping file editing?
Include the xsd files that come with NHibernate as part of your solution (either within a project, or as "Solution Files").
That's it.
see http://jameskovacs.com/2007/10/16/enabling-intellisense-for-nhibernate/
You need to tell Visual Studio which XML schema to use for these mapping files. Maybe this is what you need:
http://blog.benday.com/archive/2006/01/15/3646.aspx
精彩评论