Cannot perform runtime binding on a null reference

Hello, I have the following code in a MVC 5 view and using T4MVC 3.9.0: <a href="@Url.Action(MVC.Home.Index())"> <img src="@Url.Content("~/assets/logo.png")" data-at2x="@Url.Content("~/assets/lo...

Id #43 | Release: None | Updated: Thu at 10:45 PM by davidebbo | Created: Thu at 10:06 PM by shapper

Running the custom tool breaks Visual Studio intellisense/parsing

When you right click the TVMVC.tt and choose "run custom tool" to regenerate the code at some point it crashes Visual Studios intellisense/parsing. This occurs usually after 3 times of running t...

Id #42 | Release: None | Updated: Mar 14 at 2:41 PM by davidebbo | Created: Mar 14 at 11:00 AM by JoeyBradshaw

URLs for 'no-area actions' are correct but 'area actions' are missing part of the site root URL

Here's an example of two statements in the same view: '@(Url.JavaScriptReplacableUrl(MVC.Help.HideHelpTextMessages()))', ... postUrl: '@(Url.JavaScriptReplacableUrl(MVC.Transactions.BatchItems.Upda...

Id #40 | Release: None | Updated: Feb 27 at 7:15 PM by KennyEvitt | Created: Feb 26 at 8:37 PM by KennyEvitt

A parameter is mysteriously appended to url on root of application

All of a sudden today I'm getting an "Area" appended to the query string on the root of my application. It doesn't show up outside of the root. Asp.Net MVC 5 using attribute routing. No default ro...

Id #38 | Release: None | Updated: Feb 10 at 9:30 PM by davidebbo | Created: Feb 9 at 6:35 PM by JoeyBradshaw

“anonymous type” parameter in T4MVC Actionresult

I have an action result defined this way : public virtual JsonResult Created(string tableName, object where) { ....some code } I am using T4MVC and I am trying to call the action result like t...

Id #37 | Release: None | Updated: Jan 16 at 10:04 PM by davidebbo | Created: Jan 16 at 2:13 PM by marioana

Namespace collision

I have area in my MVC4 app and controllers in namespace AreaName.Controllers. During build have error in T4MVC.cs namespace T4MVC { [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public ...

Id #36 | Release: None | Updated: Dec 23, 2013 at 7:35 PM by davidebbo | Created: Dec 20, 2013 at 5:50 AM by gps50

Running transformation: System.InvalidCastException

I am getting following error while running T4MVC.tt file. Can you please review and help me : Error 3 Running transformation: System.InvalidCastException: Unable to cast COM object of type 'Syste...

Id #35 | Release: None | Updated: Dec 23, 2013 at 8:39 PM by cblaze22 | Created: Dec 17, 2013 at 11:33 AM by ravigarg1985

Exception calling "Item" with "1" argument(s): "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"

Hello, when installing T4MVC on a MVC 5 project in VS 2013 I get the following error: Successfully installed 'T4MVC 3.7.4'. Adding 'T4MVCExtensions 3.7.4' to Proj.Site. Successfully added 'T4...

Id #33 | Release: None | Updated: Oct 31, 2013 at 6:31 PM by davidebbo | Created: Oct 31, 2013 at 11:07 AM by shapper

Missing port number for local urls when using RequireHttpsAttribute

The URL's generated for the https protocol when using RequireHttpsAttribute doesn't contains the port fragent. So, the urls for the generated links is invalid when running on ports other than 80. ...

Id #31 | Release: None | Updated: Oct 8, 2013 at 4:27 AM by davidebbo | Created: Oct 7, 2013 at 3:06 PM by jpolvora

Async support only works for Controllers that inherit from AsyncController

In the more recent versions of MVC, inheriting from AsyncController is no longer required (or suggested), and it's "provided for backward compatability with MVC3" If you don't inherit from AsyncC...

Id #30 | Release: None | Updated: Sep 25, 2013 at 6:08 PM by davidebbo | Created: Sep 25, 2013 at 6:22 AM by ctolkien