views:

288

answers:

2

Hi,

I know there is a way to enable code completion for hibernate-mapping files. But I can't remember how I have to do this. Can someone help me out pls?

Kind Regards,

Sem

+2  A: 

Try copying the following files into: C:\Program Files\Microsoft Visual Studio 9.0\Common7\Packages\schemas\xml, or into C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas.

I'm not sure which is the right place and I put them into both of mine but it works for me.

nhibernate-configuration.xsd
nhibernate-generic.xsd
nhibernate-mapping.xsd

You can get the files from the source of nHibernate

JoshBerke