As you know to create new t4 templates in MVC, need to add CodeTemplates
folder to project. There are two main subfolders 1-AddController
, 2-AddView
I always use AddView
folder to add new templates to generate custom views, know I need new template to generate controllers, but when I add new tt
file to AddController
folder, there is no any new option in templates of new controller, there is always 3 options:
So how can I add new option to Add Controller window to use my custom Controller Template? Or if I try wrong way, what is your suggestion to use Template to generate controllers?