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: +1, I've not expected such a breaking change happen. How can I tell RazorGenerator to generate old-style code: 1. Class name is equal to file name and not prefixed with "_". 2. Namespace is determined by a file path. Maybe there are other changes as well?

Viewing all articles
Browse latest Browse all 525

Trending Articles



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