开发者

How can we add IntelliSense to visual studio in time of nhibernate mapping file editing?

开发者 https://www.devze.com 2023-01-02 00:22 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消