bennor / AutoT4MVC

A zero-configuration Visual Studio 2012+ extension for automatically running T4MVC templates on build and when files are modified in paths that T4MVC cares about.
http://bennor.github.io/AutoT4MVC/
MIT License
24 stars 9 forks source link

hard coded template name #3

Closed andray71 closed 12 years ago

andray71 commented 12 years ago

it works only for template "T4MVC.tt"

from your code: var t4MvcTemplates = FindProjectItems("T4MVC.tt", projects).ToList();

bennor commented 12 years ago

Yup. That's by design. It's an autorunner for T4MVC. I'm about to release an update that makes it even more specific to T4MVC by triggering when files are added/removed/saved in specific folders. Triggering the running of non-T4MVC T4 templates in this situation would be a waste of time.

I've created a modified extension which runs all T4 templates, which is now on the VS Gallery. It's called AutoT4.