This project is read-only.


Inappropriate usages of RouteValueCollection


As discussed previously ( there are a few places left where T4MVC inappropriately uses RouteValueCollection to convert an anonymous object to HTML attributes.

I've created diffs that can be applied to make the changes to 2.8.1. As I'm not used to working with diffs or what format you need them in, I've included all patch formats supported by Beyond Compare.

Btw, did you know that you can shave 7kb off the size of T4MVC simply by using tab indentation?

file attachments

Closed Feb 14, 2013 at 12:02 AM by davidebbo
I believe we fixed's this a while back per mswainatwork's changes.


mertner wrote Apr 18, 2012 at 2:23 AM

Just in case you prefer, I've also attached the fully patched file.

mswainatwork wrote Apr 19, 2012 at 4:27 PM

I added a pull request from a fork for Dabid to check. It should handle both MVC3 and MVC2 (which T4MVC is designed to work with.)

This is a link to the changeset if anybody is interested: