title: EntryPointNotFoundException when calling DependencyResolver.SetResolver(new UnityDependencyResolver(Container));
body: <p>I've got an MVC project and I've been doing DI in my WebAPI controllers for quite some time using a IHttpControllerActivator.</p>
  
  <pre><code>configuration.Services.Replace(
                  typeof(IHttpControllerActivator),
                  new UnityCompositionRoot(Container));
  </code></pre>
  
  <p>Now I need to use DI in an MVC controller so tried adding this line from the Unity.MVC project.</p>
  
  <pre><code>DependencyResolver.SetResolver(new UnityDependencyResolver(Container));
  </code></pre>
  
  <p>But I'm getting an EntryPointNotFound exception when trying to set the resolver with the following stack trace.</p>
  
  <pre><code>   at System.Web.Mvc.DependencyResolver.CacheDependencyResolver..ctor(IDependencyResolver resolver)
     at System.Web.Mvc.DependencyResolver.InnerSetResolver(IDependencyResolver resolver)
     at System.Web.Mvc.DependencyResolver.SetResolver(IDependencyResolver resolver)
     at GRP2App.Web.App_Start.DependencyConfig.RegisterDependencys(HttpConfiguration configuration) in c:\Dev\SVN-Git\GRP2.5\GRP2App\GRP2App.Web\App_Start\DependencyConfig.cs:line 96
  </code></pre>
  
  <p>I've updated all my Unity nu-get packages so all the different projects should be on the same version. I'm not really sure what else to try.</p>