Intellisense for NHibernate 2.0 in Visual Studio 2008

Monday, 11 August 2008 09:56 by PhilJapikse
There have been several posts on this that have been quite helpful, but I think they were only looking at 1.2. I originally saw this post on Benjamin Day's blog. I tried it and it didn't work for me...then I realized the file names have changed. The steps are basically the same:
  • Copy the *.xsd files from src\NHibernate (there are three - nhibernate-configuration.xsd, nhibernate-generic.xsd, and nhibernate-mapping.xsd)
  • Copy them to \program files\Microsoft Visual Studio 9.0\Xml\Schemas
  • Rename them to include the -2.2 suffix (nhibernate-configuration-2.2.xsd, nhibernate-generic-2.2.xsd, and nhibernate-mapping-2.2.xsd)

Additional methods can be found on Aaron Stebner's blog.

Pretty simple, eh?

Happy coding!


Tags:   , , ,
Categories:   NHibernate
Actions:   E-mail | Permalink | Comments (6) | Comment RSSRSS comment feed

Comments

August 22. 2009 02:43

Philip Japikse, MCSD, MCDBA, CSM

did you get it from here?
sourceforge.net/.../showfiles.php

Philip Japikse, MCSD, MCDBA, CSM

August 22. 2009 07:43

Anonymous

Looks like nhibernate-generic.xsd was dropped from my zip file...

Anonymous

August 22. 2009 12:43

Natale

very helpfull I try mad with it.

Natale

May 5. 2010 09:37

Bryon Lape

Looks like the XSD files are no longer a part of the release bins or source. Very annoying. At least Spring.Net still has them.

Bryon Lape

May 31. 2010 18:36

trackback

Compiling NHibernate 2.0 in VS2008

Compiling NHibernate 2.0 in VS2008

.NET Musings

June 13. 2010 04:06

PhilJapikse

Bryon,

I just grabbed the latest source for 2.1.2 GA and the xsd files are there.

PhilJapikse

Add comment




  Country flag

biuquote
Loading