Run custom tool not generate all actions (MVC4)

Dec 17, 2013 at 9:17 AM
Edited Dec 17, 2013 at 10:37 AM
I trying all possibilities (uninstall, install another version, changing prefix, delete last line from .tt file http://hadsy.net/2011/05/17/CompilingTransformationInvalidTokenThisInClassStructOrInterfaceMemberDeclaration.aspx , also I have BaseController abstract). Generate only this (no actions for all controllers, also not generate anything for the BaseController):
public class AccountController
{

    static readonly ViewsClass s_views = new ViewsClass();
    [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
    public ViewsClass Views { get { return s_views; } }
    [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
    public class ViewsClass
    {
        static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass();
        public _ViewNamesClass ViewNames { get { return s_ViewNames; } }
        public class _ViewNamesClass
        {
            public readonly string Login = "Login";
        }
        public readonly string Login = "~/Views/Account/Login.cshtml";
    }
}
I create another project solution to test T4MVC and works. Any ideas to fix this issue?
Coordinator
Dec 17, 2013 at 6:36 PM
If one works and other one doesn't, I would try to isolate the differences between the two. If you get it does to a minimal repro, you can share it (e.g. on Github) for others to take a look. Or you can also try debugging T4MVC to see what's going on.