title: must add a reference to assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=19f9d7d4cc76b670'
body: <p>In my solution I have 5 projects and I need to use strucuremap. Here is my code :</p>
  
  <pre><code>private static readonly Lazy&lt;Container&gt; _containerBuilder =
              new Lazy&lt;Container&gt;(defaultContainer, LazyThreadSafetyMode.ExecutionAndPublication);
          public static IContainer Container
          {
              get { return _containerBuilder.Value; }
          }
          private static Container defaultContainer()
          {
              var container = new Container(ioc =&gt;
              {
                  // map same interface to different concrete classes
                  ioc.For&lt;IUser&gt;().Use&lt;EFUserService&gt;();
                  ioc.For&lt;IUnitOfWork&gt;().Use(() =&gt; new ApplicationDBContext())();
              });
              container.AssertConfigurationIsValid();
  
              return container;
          }
  </code></pre>
  
  <p>In this line: </p>
  
  <pre><code>ioc.For&lt;IUnitOfWork&gt;().Use(() =&gt; new ApplicationDBContext())();
  </code></pre>
  
  <p>I get this error : </p>
  
  <blockquote>
    <p>'DbContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=19f9d7d4cc76b670'</p>
  </blockquote>
  
  <p>I add all project in this project (this main project), update EF (6.1.3) in all project, and I use strucuremap 4.5.1. </p>
  
  <p>Whats the problem? Why show me this error? How can I solve this?</p>