This project is read-only.

Does not generate parameter-less constructors?

Aug 11, 2013 at 11:52 PM
I'm trying to use T4MVC in my ASP.NET MVC4 application. I'm inserting it in my view as shown below:
@using (Ajax.BeginForm(MVC.Check.Lead(),
The Lead method takes an integer ID parameter which is supplied in the form itself. In the documentation T4MVC state that a parameter-less constructor should be auto generated however the compiler says that there isn't.

Why is it not generated?
Aug 12, 2013 at 12:32 AM
On a sidenote it has generated parameter-less methods for the other controller actions. Some why it haven't from the the Check controller.
Aug 12, 2013 at 3:35 PM
This should work. e.g. see example [here]( Files/HomeController.generated.cs) of what generated code should look like (e.g. look for action Blah). Does yours generated code look much different?