Automatically running T4MVC?

Nov 3, 2010 at 8:11 PM

Hi there,

 

I can't seem to get this to work. I have gone to options and set Smart Run T4MVC and also tried setting Run T4 Template.

 

I created a new controller, Saved my controller, my project and even did a new build

 

But t4mvc isn't updated with my new controller.

 

Am I missing something?

Nov 3, 2010 at 8:12 PM

Sorry forgot  to mention:- Of course if i select Run Custom Tool manually it creates the file.

May 17, 2011 at 8:03 AM
Edited May 17, 2011 at 8:04 AM

Hi,

Go to menu  Tools > Options.

Browse nodes Chirpy > T4template (tt).

Add "T4MVC.tt" in the textbox "Template".

 

Cheers...