Closed
Description
Describe the bug
The blazor component library (dotnet new blazorlib) is not working properly with razor components (blazor server side). Specifically the static files that are embeded in the library are not served when the page is loaded.
To Reproduce
Steps to reproduce the behavior:
- Using dotnet 3.0 preview 2 (3.0.100-preview-010184)
dotnet new razorcomponents -o RazorComponents1
dotnet new blazorlib -o RazorComponents1\BlazorLib1
dotnet add RazorComponents1\RazorComponents1.App reference RazorComponents1\BlazorLib1
- Add the following code to RazorComponents1.App\Pages\Index.cshtml
<Component1 />
- Add the following code to RazorComponents1\RazorComponents1.App_ViewImports.cshtml
@addTagHelper *,BlazorLib1
dotnet run --project RazorComponents1\RazorComponents1.Server