Is it possible to use T4MVC when The Controllers and Models are in a different Library to the Views?
For example,
- Namespace.Common.MVC
which contains the Controllers and Models, which is referenced by
- Namespace.MvcApplication1
- Namespace.MvcApplication2
which contains the Views.
Installing the nuget T4MVC package into Common.MVC
and MvcApplication1
works fine, but when trying to use MVC.
on a View there is an error that MVC
exists in multiple namespaces, which is logical.
Is there a way around this?