|
Hi,
Thanks for the great tool.
I use a name convention whereby my partial view names start with an '_'.
The class generated from the view doesn't include the underscore, which eventually leads to a name clash with the full view's generated class name.
For example 'Details' is usually implemented in two views: 'Details.cshtml' and '_Details.cshtml'; the classes in the generated file are both wrongly named 'Details'.
How do I overcome this 'tiny' issue? (see generated code below)
[System.CodeDom.Compiler.
GeneratedCodeAttribute("RazorGenerator",
"1.5.0.0"
)] [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/MetaDataAdmin/Views/DisplayLayout/_Details.cshtml"
)]
public
class
Details
: System.Web.Mvc.WebViewPage<DisplayLayout>
Thanks
|