I cannot use RazorGenerator.MVC after upgrade to MVC 5.1.2

If I won't edit any view I don't have any issue. But after edit, I cannot compile my project any more: error CS0103: The name 'Styles' does not exist in the current context error CS0103: The n...

Id #143 | Release: None | Updated: Apr 13 at 3:47 AM by titobf | Created: Apr 11 at 8:47 AM by msmolka

Why first request still very slow??

I'm look at the article: http://stacktoheap.com/blog/2013/01/19/precompiling-razor-views-in-asp-dot-net-mvc-3/ and add the new version Razor generator Extends on visual studio 2012, I'm also add ...

Id #142 | Release: None | Updated: Apr 11 at 8:33 AM by msmolka | Created: Mar 24 at 7:18 AM by qakmak

"Entry point was not found." while using RazorGenerator.MVC and RazorGenerator.MsBuild

I tried following the directions to set this up and when I start the application I'm presented with this error. It seems like it is coming from the VirtualPathFactoryManager call somehow, when I co...

Id #141 | Release: None | Updated: Mar 24 at 2:49 PM by braahyan | Created: Mar 11 at 6:42 PM by braahyan

Namespace Conflict

Edit: Specifying Custom Tool Namespace and changing the namespace in controllers under System area fixed the errors. But I still think using global::[ns] could save some time in similar cases. I...

Id #140 | Release: None | Updated: Mar 7 at 4:34 PM by davidebbo | Created: Mar 6 at 10:28 AM by alaa_m

Partial declarations of 'ViewName' must not specify different base classes

When I have partials views that start with underscore and full view that is the same name, but without underscore. I.e. "_Details.cshtml" and "Details.cshtml", the classes generated are with the sa...

Id #139 | Release: None | Updated: Feb 27 at 5:57 PM by trailmax | Created: Feb 27 at 2:25 PM by trailmax

A "public class" declared inside @functions is generated as a static class.

In RazorGenerator 1.6.3 a construct such as the following: @functions { public class MyClass { public string SomeMember { get; set; } } } will produce a public static class in the ...

Id #137 | Release: None | Updated: Feb 18 at 10:19 AM by kevmeister68 | Created: Feb 16 at 5:35 AM by kevmeister68

EditorTemplates and DisplayTemplates are broken due to namespace mangling

As addressed in the following discussions https://razorgenerator.codeplex.com/discussions/471355 https://razorgenerator.codeplex.com/discussions/278608 RazorGenerator runs into issues with Edit...

Id #133 | Release: None | Updated: Jan 17 at 10:10 AM by notken | Created: Dec 2, 2013 at 11:47 PM by pranavkm

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

Hello, When I installed RazorGenerator.Templating on a class library I get the following error: Installing 'RazorGenerator.Templating 2.1.1'. Successfully installed 'RazorGenerator.Templating ...

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

Tilda in View break links!

In the VS2013 all the Url's like this "~/content/etc" in MVC Views are compiled incorrectly. They become "/main/index/~/content/etc". In the VS2012 it worked :( For example, VS2012: WriteLitera...

Id #129 | Release: None | Updated: Oct 21, 2013 at 5:56 PM by alvipeo | Created: Oct 21, 2013 at 10:24 AM by alvipeo

ClassSuffix appended multiple times when in RazorGenerator.directives

If I specify a ClassSuffix directive of something other than a simple underscore e.g. "ClassSuffix: _View" in RazorGenerator.directives then the suffix gets appended multiple times (it looks like h...

Id #127 | Release: None | Updated: Oct 3, 2013 at 3:01 PM by duncans | Created: Oct 3, 2013 at 10:34 AM by duncans