Don't copy the schemas to any special folders. Instead, include them in your solution (as solution items).
Diego On Wed, Apr 14, 2010 at 19:16, Jim Geurts <[email protected]> wrote: > Hey all, > > I'm trying to enable intellisense for NHibernate mapping files with > Visual Studio 2010. I tried putting the two xsd files into the > following directories but still have no intellisense: > > C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages > \schemas\xml > C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages > \schemas\xml\1033 > C:\Program Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas > C:\Program Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas\1033 > > After I copied the files, I shut down visual studio and restarted it. > Any pointers for how to get intellisense working for NHibernate map > files? > > My map files begin with the following: <?xml version="1.0" > encoding="utf-8" ?><hibernate-mapping xmlns="urn:nhibernate- > mapping-2.2" > > So they should be picking up the correct schema info. > > Thanks for any help, > > Jim > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
