Autofac.Core.DependencyResolutionException Error in .Net Maui Blazor. #22970
Labels
area-blazor
Blazor Hybrid / Desktop, BlazorWebView
platform/android 🤖
platform/iOS 🍎
s/needs-repro
Attach a solution or code which reproduces the issue
t/bug
Something isn't working
Description
First, I am creating one project who store my all Api and that implementation and then I create that dll file and give reference of that dll file in my project. When I try to use this dell file that first I register with singltone in mauiprogram file and then use that in my project but that give me a error like this,
This way i register my class file in maui program file
context.Services.AddScoped<FileName>();
This is that file code
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
Android 14,13 ,iOS 17.2,17.4
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: