AddBlazorStyled() exception in ASP.NET Core blazor server project
Open
bug
question
- Dominant language
- C#
- Stars
- 193
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I ran in a little issue with the latest version of this library with .NET Core 3.1. The project was generated with the Visual Studio 2019 wizard. When adding the service via AddBlazorStyled() in Startup.ConfigureServices() the following exception occurs.
> System.InvalidOperationException: "Cannot resolve 'BlazorStyled.IStyled' from root provider because it requires scoped service 'BlazorStyled.Stylesheets.IStyleSheet'."
As IStyleSheet and its implementations are internal elements of BlazorStyled, I am also not able to add the DI object manually.
I think this is a bug?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.