title: Can't find NHibernate mapping file: noob question
body: <p>Struggling with NHibernate and would appreciate any help. I've got a table called 'orders' and a class called 'Order'. I'm using MVC3, and this is my exception</p>
  
  <p>NHibernate.MappingException: Could not compile the mapping document: Orders.hbm.xml ---> System.IO.FileNotFoundException: Could not find file 'C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\Orders.hbm.xml'.</p>
  
  <p>(this is when I try to start the app). I'm guessing it's a) a problem with the mapping file itself and therefore not copying it to the IIS deployment folder, or I need to define it as some sort of 'embedde resorce' (which it is). Bit new to this...</p>
  
  <p>My mapping file is in 'Mappings/Orders.hbm.xml' and looks like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                     assembly="Munch"
                     namespace="Munch.Models"&gt;
  
    &lt;class name="Order" table="orders"&gt;
      &lt;id name="id"&gt;
        &lt;generator class="int32" /&gt;
      &lt;/id&gt;
      &lt;property name="Name" /&gt;
    &lt;/class&gt;
  
  &lt;/hibernate-mapping&gt;
  </code></pre>
  
  <p>If anyone can tell me what's wrong I will be really grateful (or even if you can tell me how to get some more info as to how to get more detail on the error)</p>
  
  <p>Thanks</p>
  
  <p>PS I'm from Java/Spring/JPA land but trying to put together a decent stack for my team. I'm hoping these .NET versions translate well to work with MVC3 in .NET land but if anyone wants to recommend better technologies I'm all ears!</p>