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 at 3:48 AM by pranavkm | Created: Dec 3 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 at 6:33 PM by bryanjamesross | Created: Nov 26 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 at 7:29 PM by davidebbo | Created: Nov 14 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 at 6:25 PM by davidebbo | Created: Nov 3 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 at 6:10 AM by jason_r | Created: Oct 20 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 at 10:37 AM by Vivibeorn | Created: Sep 23 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 at 3:55 PM by pranavkm | Created: Jul 30 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 at 2:29 PM by pranavkm | Created: Jul 25 at 10:29 AM by crazytyper

using RazorSrcFiles causes views to duplicate in visual studio project

As the title mentioned, when using RazorSrcFiles to choose what to compile, the items will duplicate in visual studio 2013. Screenshot attached.

Id #150 | Release: None | Updated: Jul 9 at 7:13 PM by pranavkm | Created: Jul 9 at 6:47 AM by icern

TeamCity with RazorGenerator.MSBuild

I'm using Teamcity for my projects and i have tons of problems right now with TeamCity and Razorgenerator.MsBuild. One of my projects occasionally stops building (totally random) with the message...

Id #148 | Release: None | Updated: Jun 23 at 5:30 PM by paranoxx | Created: Jun 23 at 5:30 PM by paranoxx