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:
| Updated: Dec 8 at 3:48 AM by pranavkm | Created: Dec 3 at 4:31 PM by remibourgarel
When reading a source template, RazorGenerator currently uses Encoding.Default.
Stream stream = File.OpenRead(_fullPath);
using (var reader = new StreamReader(stream,...
Id #158 | Release:
| Updated: Nov 27 at 6:33 PM by bryanjamesross | Created: Nov 26 at 11:40 PM by bryanjamesross
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:
| Updated: Nov 18 at 7:29 PM by davidebbo | Created: Nov 14 at 4:01 PM by JxxE
After using Razor generator, MVC cannot find views in customized location if they are from a library.
public ActionResult Index()
// this works perfect
// return View("~/...
Id #156 | Release:
| Updated: Nov 4 at 6:25 PM by davidebbo | Created: Nov 3 at 11:49 PM by yzhang2011
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:
| Updated: Oct 20 at 6:10 AM by jason_r | Created: Oct 20 at 6:10 AM by jason_r
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:
| Updated: Sep 30 at 10:37 AM by Vivibeorn | Created: Sep 23 at 3:19 PM by Vivibeorn
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:
Id #152 | Release:
| Updated: Aug 1 at 3:55 PM by pranavkm | Created: Jul 30 at 9:54 AM by cw
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.
Id #151 | Release:
| Updated: Jul 30 at 2:29 PM by pranavkm | Created: Jul 25 at 10:29 AM by crazytyper
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:
| Updated: Jul 9 at 7:13 PM by pranavkm | Created: Jul 9 at 6:47 AM by icern
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:
| Updated: Jun 23 at 5:30 PM by paranoxx | Created: Jun 23 at 5:30 PM by paranoxx