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.

Home Page:http://bennor.github.io/AutoT4MVC/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Area? We don't need no stinkin' Areas?

flipdoubt opened this issue · comments

After installing AutoT4MVC I notice T4MVC appends "?Areas=" to all my lovely routes when I don't even use Areas. It seems unlikely, but could AutoT4MVC have something to do with this? I tried commenting out the Areas node in T4MVC.tt.settings.xml and something automagically changed it back as soon as I hit CTRL+S. Could it be AutoT4MVC?

auto

First step would be to identify what's caused by T4MVC and what's caused by AutoT4MVC. Are you saying that before using AutoT4MVC, you were not seeing that ?Area=, and not you are? Looking at your source control, is the generated code different from what it was before?

Yes, I did not see the Areas parameter before adding AutoT4MVC, but I added other packages at the same time, including T4MVCExtensions. I do not see any mention of Areas in the Controller.generated.cs files. Where else should I be looking?

I don't think it's related to AutoT4MVC. Let's discuss here.

Thanks for sussing that out, @davidebbo.