I got this problem with the Controller:
An error occurred when trying to create a controller of type \'*.WebMvc.Controllers.HomeController\'. Make sure that t
This can also be due to an exception in the parameter-injected constructor of the outer type that is being resolved. The dependencies of that type's constructor might be getting resolved successfully, but if there is an exception in the outer constructor, Unity will report it as "Type Test.Controllers.MyControllerWithInjectedDependencies does not have a default constructor".