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

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

Closed flipdoubt closed 11 years ago

flipdoubt commented 11 years ago

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

davidebbo commented 11 years ago

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?

flipdoubt commented 11 years ago

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?

davidebbo commented 11 years ago

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

bennor commented 11 years ago

Thanks for sussing that out, @davidebbo.