{"id":120,"date":"2007-10-16T22:10:46","date_gmt":"2007-10-17T04:10:46","guid":{"rendered":"http:\/\/jameskovacs.com\/2007\/10\/17\/Enabling+Intellisense+For+NHibernate"},"modified":"2007-10-16T22:10:46","modified_gmt":"2007-10-17T04:10:46","slug":"enabling-intellisense-for-nhibernate","status":"publish","type":"post","link":"https:\/\/www.jameskovacs.com\/index.php\/2007\/10\/16\/enabling-intellisense-for-nhibernate\/","title":{"rendered":"Enabling Intellisense for NHibernate"},"content":{"rendered":"<p>Did you know that you can get Visual Studio Intellisense support when editing NHibernate&#8217;s configuration and mapping files?* Simply drop nhibernate-configuration.xsd and nhibernate-mapping.xsd&nbsp;from the NHibernate zip file into:<\/p>\n<p>C:\\Program Files\\Microsoft Visual Studio 8\\Xml\\Schemas<\/p>\n<p>or<\/p>\n<p>C:\\Program Files\\Microsoft Visual Studio 9.0\\Xml\\Schemas<\/p>\n<p>Once you&#8217;ve got the XML Schemas in the right location, you should see something like this when editing NHibernate configuration and mapping files&#8230;<\/p>\n<p><a href=\"\/wp-content\/uploads\/WindowsLiveWriter\/EnablingIntellisenseforNHibernate_130A5\/NHibernateIntellisense.png\" atomicselection=\"true\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"505\" alt=\"NHibernateIntellisense\" src=\"\/wp-content\/uploads\/WindowsLiveWriter\/EnablingIntellisenseforNHibernate_130A5\/NHibernateIntellisense_thumb.png\" width=\"751\" border=\"0\"><\/a><\/p>\n<p>(The little light bulb is ReSharper 3.0 suggesting a Quick Fix to split&nbsp;the empty XML tag into start and end tags.)<\/p>\n<p>*&nbsp;This XML Intellisense trick works for any XML Schema (XSD) file.<\/p>\n<p>N.B. Dropping your XML Schema files in the similarly named C:\\Program Files\\Microsoft Visual Studio 8\\Common7\\Packages\\schemas\\xml does absolutely nothing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you know that you can get Visual Studio Intellisense support when editing NHibernate&#8217;s configuration and mapping files?* Simply drop nhibernate-configuration.xsd and nhibernate-mapping.xsd&nbsp;from the NHibernate zip file into: C:\\Program Files\\Microsoft Visual Studio 8\\Xml\\Schemas or C:\\Program Files\\Microsoft Visual Studio 9.0\\Xml\\Schemas Once you&#8217;ve got the XML Schemas in the right location, you should see something like this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-120","post","type-post","status-publish","format-standard","hentry","category-dotnetgeneral","category-dotnettools"],"_links":{"self":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":0,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}