I'm getting an error without any output. In my existing Blazor project, when I open a razor file, it says it's building but always fails with this error. Am I missing something - this is my first time using that application and I can't get started
did you check the output? click on the Output link. It usually means that there is an error in your code that can't compile.
You can try running the analyzer as well.
I got errors. I get this one error consistently for almost all .razor components. Note that my project requires login.
System.InvalidOperationException: Cannot provide a value for property 'UserManager' on type 'Project.Shared.LoginDisplay'. There is no registered service of type 'Microsoft.AspNetCore.Identity.UserManager`1[Project.Models.ApplicationUser]
Note: UserManager is an injected property.
Hi @eyu,
You can try using the C# preprocessor to hide those injected properties from Radzen Blazor Studio. If this doesn't help either you could send us your app source to info@radzen.com and we will check what's going on.