I don't have VS.NET2010 yet, but if that's the way to go to get intellisense in the mapping XML files, that would be a pity. This means that you'll have to go through this 'administration work' every time you start a new solution, while with VS.NET 2008 and before, you had to copy those files only one time to that specific folder, and you were set for every solution.
On 15 apr, 02:31, Diego Mijelshon <[email protected]> wrote: > 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.
