Closed FLAMESpl closed 5 months ago
@FLAMESpl thanks for contacting us.
You also need to add the assembly using the call AddAdditionalAssemblies
in the call to MapComponents
.
Hi @javiercn thanks for the fast repsonse. Is this somewhere documented? I couldn't find this information on this page: https://learn.microsoft.com/en-us/aspnet/core/blazor/components/class-libraries?view=aspnetcore-8.0&tabs=visual-studio
This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.
See our Issue Management Policies for more information.
Is there an existing issue for this?
Describe the bug
Blazor in net8 does not load pages from razor class libraries
Expected Behavior
Home page works correctly
Steps To Reproduce
Result: template home page shows up
AdditionalAssemblies="[typeof(Home).Assembly]"
Result: page not found (404)
reproduction.zip
.NET Version
SDK: 8.0.300 Runtime: Microsoft.AspNetCore.App 8.0.5