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
If I try to unit test a view having Html.AntiForgeryToken() call inside I get an argument exception (An HttpContext is required to perform this operation. Check that this operation is being perform...
Id #147 | Release:
| Updated: Jun 23 at 5:48 PM by davidebbo | Created: Jun 18 at 6:49 AM by krenakrama
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:
| Updated: Nov 2 at 3:07 PM by fabrice | Created: Apr 11 at 9:47 AM by msmolka