You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
If you use a dash / hyphen in a Razor Page file name, the resulting page will not compile. This is because the generated type name includes invalid characters e.g hyphen-test.cshtml becomes.
public class hyphen-test_Page : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
You probably want to replace them with underscores.
The text was updated successfully, but these errors were encountered:
If you use a dash / hyphen in a Razor Page file name, the resulting page will not compile. This is because the generated type name includes invalid characters e.g hyphen-test.cshtml becomes.
public class hyphen-test_Page : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
You probably want to replace them with underscores.
The text was updated successfully, but these errors were encountered: