Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: Generated class name is different than file name [166]

$
0
0
I've just installed a new version of RazorGenerator (1.7) and it looks like new version has issue with generate class name and namespace. I have file with name Sample.cshtml in Mvc\Helpers directory and class name in generated file is Mvc_Helpers_Sample_Cshtml. I have expected a class with name "Sample". Also a namespace in generated file is invalid (Asp instead of Mvc.Helpers). In previous version I used it worked fine. I use RazorGenerator as Visual Studio extension (Custom Tool). I've installed VS2012. I cannot continue development with that issue. Where can I download old version (1.6.4) of RazorGenerator vsix?
Comments: Thank you very much. GeneratePrettyNames solved the problem. Can I set it globally for the whole project or am I forced to edit every file in my project? Btw, somebody should update "Special Razor directives" section of the homepage.

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>