mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

Scaffolder .razor.cs strange class names #243

Closed lachlanwgordon closed 4 years ago

lachlanwgordon commented 4 years ago

If I use the Scaffold item Create a Razor component with a code behind classs(the first one, for components).

The code behind it generates has the correct file name but the class is called BadPage.razor which causes a compile error.

The Constructor just has razor()

Screen Shot 2020-06-04 at 12 37 00 pm

matthewrdev commented 4 years ago

Well, looks like I rushed this and missed some sanitisation!

matthewrdev commented 4 years ago

This has been fixed and will be released in MFractor 4.2.2.