(MVC 5) System.EntryPointNotFoundException: Entry point was not found.

Aug 22, 2014 at 1:56 AM
I have no idea what's going on here. Code is below in my Startup class:
            Container container = new Container();
            container.RegisterPerWebRequest<IUnitOfWork, UnitOfWork>();
            container.RegisterMvcControllers(Assembly.GetExecutingAssembly());
            container.RegisterMvcIntegratedFilterProvider();
            container.Verify();
            DependencyResolver.SetResolver(new SimpleInjectorDependencyResolver(container));
The call to SetResolver() fails with the error EntryPointNotFoundException, even if I remove my UnitOfWork registration.

Any help would be greatly appreciated.
Coordinator
Aug 22, 2014 at 10:51 AM
Can you post the complete stack trace?
Aug 22, 2014 at 11:02 AM
I hate to say it, but I lost the stack trace. I ended up trying Autofac which worked, so I just moved forward with that. I wish I could provide you more information. Sorry about that :-(