user696663
user696663

Reputation: 31

T4MVC controller generated files not updating for newly added controller

I added T4MVC into my application and it generated all necessary files for the controllers. However when i try to add a new controller into my application, but I dont see the controller.generated file for this newly added controller into the application.

Am I missing something or is it a limitation of T4MVC? Can anyone help me on this?

Upvotes: 3

Views: 1431

Answers (1)

David Ebbo
David Ebbo

Reputation: 43203

There are several options to cause the generation to happen:

  • it happens whenever you save the t4mvc.tt file
  • you can right click t4mvc.tt and choose Run Custom Tool
  • You can use Chirpy (http://chirpy.codeplex.com/), which can make T4MVC generation automatic.

Upvotes: 3

Related Questions