T4MVC base controller does not have a default constructor

My controller inherits from the anothe controller, which does not have a default constructor. T4MVC generates the following constructor, which assumes that the base controller has a default constructor:

protected MyControllerController(Dummy d) { }

How can I solve this problem? Quite interestingly, according to this page , version 2.4.00 "the problem is fixed when the base controller does not have ctor by default." I also found this SO question, but my base controller is not generic.

+5
source share
1 answer

, . , ? , .

+6

All Articles