开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜