title: AutoMapper add Profile on assembly load
body: <p>I want to register all the Mappings in my <strong>Business Layer</strong> to <strong>Data Layer</strong>, and <strong>Data Layer</strong> to <strong>Business Layer</strong> classes just as my Business Layer assembly loads.  Currently I am using a static class to do this task for me: </p>
  
  <pre><code>public static class AutoMapperBootstrapper
  {
      public static void InitMappings()
      {
          Mapper.Initialize(a =&gt; a.AddProfile&lt;MyProfile&gt;());
      }
  }
  </code></pre>
  
  <p>But each time I make a call with Mapper.Map and the added mappings in the profile, it is still saying Missing Type Mapping Information.</p>
  
  <p><strong>How I should go about fixing this?</strong></p>