Razor pages in a component should support @Namespace #9171
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Is your feature request related to a problem? Please describe.
I don't want generated razor.g.cs files to create a namespace that is dependent upon the directory structure containing the .razor page.
Describe the solution you'd like
I believe that an @namespace directive in a rzor page should override the generated namespace. Currently adding "@namespace xyzzy" is ignored.
Describe alternatives you've considered
n/a
Additional context
VS2019/DNC 3.0.0 Preview 3
The text was updated successfully, but these errors were encountered: