This project is read-only.

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

Aug 22, 2014 at 2: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>();
            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.
Aug 22, 2014 at 11:51 AM
Can you post the complete stack trace?
Aug 22, 2014 at 12:02 PM
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 :-(