For intellisense to work you have to added the NHibernate mapping schema to Visual Studio.
First you need the file nhibernate-mapping.xsd from the src/Nibernate folder. You can get this by either downloading the source or from browsing the repository here: http://nhibernate.svn.sourceforge.net/viewvc/nhibernate/ When you have the file you can add it to Visual Studio and for 2008 the location is C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas. Other versions have a similar structure. Keith. 2009/4/21 Ahmed Emad <[email protected]> > > hi > It is known that if i want to add nhibernate-mapping schema provide > intellisense and validation when editing an XML mapping document i can > do that by adding schema to schema property in XML file properties. > > can i do that by writing it to the mapping file without doing the > previous work. > i trying to something like that . > > <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" schema ="c: > \nhibernate-mapping.xsd"> > > and i put the schema in this direction but it didn't work > > so , what i should do? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
