Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

T4MVC controller generated files not updating for newly added controller

Tags:

t4mvc

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?

like image 578
user696663 Avatar asked Nov 28 '25 16:11

user696663


1 Answers

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.
like image 82
David Ebbo Avatar answered Dec 02 '25 05:12

David Ebbo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!