RazorGenerator.MsBuild does not support ASP.Net MVC 5.1 or 5.2 (versions > 5.0)

RazorGenerator does not currently support MVC versions > 5.0 (i.e. 5.1 and 5.2) In environments such as build servers, where Visual Studio is not installed, projects utilizing the latest version ...

Id #163 | Release: None | Updated: Tue at 7:55 PM by davidebbo | Created: Jan 9 at 1:27 AM by jsholzer

Layouts, views and partials with same name in different assemblies

In my separate MVC project with RG, there are "parent" layouts, views and partials. In my main MVC project(s), I have "child" layouts/views/partials, which derive from them. If these files have ...

Id #162 | Release: None | Updated: Jan 7 at 6:13 PM by thoqbk | Created: Jan 7 at 10:05 AM by thoqbk

Fails to generate views when name starts with a number

When we have a view starting with a number ex "123abc.cshtml" Razorgenerator.MsBUild creates the classes but they are not compilable : "Error 134 Type or namespace definition, or end-of-file expe...

Id #159 | Release: None | Updated: Dec 8, 2014 at 3:48 AM by pranavkm | Created: Dec 3, 2014 at 4:31 PM by remibourgarel

Use Encoding.UTF8 instead of Encoding.Default

When reading a source template, RazorGenerator currently uses Encoding.Default. In RazorHost.GenerateCode(): Stream stream = File.OpenRead(_fullPath); using (var reader = new StreamReader(stream,...

Id #158 | Release: None | Updated: Nov 27, 2014 at 6:33 PM by bryanjamesross | Created: Nov 26, 2014 at 11:40 PM by bryanjamesross

Problem with razor values in html-attributes (mvc4 + 5)

I've tested my code with ASP.NET MVC 3 3.0.20105.1 and it works. I want to upgrade to MVC 4 4.0.40804 but this snippet does not work. Even tried with MVC 5.2.2. Tested with RazorGenerator 2.2.3 ...

Id #157 | Release: None | Updated: Nov 18, 2014 at 7:29 PM by davidebbo | Created: Nov 14, 2014 at 4:01 PM by JxxE

Customized view location

After using Razor generator, MVC cannot find views in customized location if they are from a library. For example: public ActionResult Index() { // this works perfect // return View("~/...

Id #156 | Release: None | Updated: Nov 4, 2014 at 6:25 PM by davidebbo | Created: Nov 3, 2014 at 11:49 PM by yzhang2011

Actual Values when using @Html.DisplayNameFor

Hi, First off thanks for your all your work on this project :) Was just wondering what the recommended approach is to testing Razor views that use @Html.DisplayNameFor to test that the view is...

Id #155 | Release: None | Updated: Oct 20, 2014 at 6:10 AM by jason_r | Created: Oct 20, 2014 at 6:10 AM by jason_r

Razor Generator MSBuild - Helpers are not generate in static class

Hello, I got problem and i can't understand the logic, i think there is an issue... I got a Helper.cshtml @ Generator: MvcHelper **@ ..... When i generate it with Custom Tool : RazorGenerator...

Id #154 | Release: None | Updated: Sep 30, 2014 at 10:37 AM by Vivibeorn | Created: Sep 23, 2014 at 3:19 PM by Vivibeorn

ASPPARSE error when @ character follows tag name

The latest version of RazorGenerator (1.6.3) produces ASPPARSE error when '@' character is used immediatelly after a tag name, for example in ASP.NET MVC _WebGridRenderer.cshtml: <thead> ... er...

Id #152 | Release: None | Updated: Aug 1, 2014 at 3:55 PM by pranavkm | Created: Jul 30, 2014 at 9:54 AM by cw

underscore prefix not CLSCompliant

Since the fix for Issue #133 an underscore prefix is added to generated class names of Editor- and DisplayTemplates. However, class names prefixed with "_" are not considered CLS compliant. I t...

Id #151 | Release: None | Updated: Jul 30, 2014 at 2:29 PM by pranavkm | Created: Jul 25, 2014 at 10:29 AM by crazytyper