-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DocsThis issue tracks updating documentationThis issue tracks updating documentationarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion
Milestone
Description
Using server-side rendered Blazor, I moved Pages
and Components
folder into GUI subfolder. I also changed <_RazorComponentInclude>Components\**\*.cshtml</_RazorComponentInclude>
to <_RazorComponentInclude>GUI\Components\**\*.cshtml</_RazorComponentInclude>
. Then compiling and running the app (F5 from VS19) shows blank screen (localhost page not found). The Index.cshtml
is not served.
To Reproduce
Steps to reproduce the behavior:
- Using the latest VS19 preview create the ASP.NET Core Web Application with Razor Components
- Move Pages and Components folders into GUI subfolder
- Fix namespaces to be able to compile and run the app
- Change blazor-related property in csproj file to
<_RazorComponentInclude>GUI\Components\**\*.cshtml</_RazorComponentInclude>
- Compile and run the app
- See the error
Not sure whether it's a bug or is there something I miss which need to be additionally configured?
sfmskywalker and natalie-o-perret
Metadata
Metadata
Assignees
Labels
DocsThis issue tracks updating documentationThis issue tracks updating documentationarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion