Replies: 1 comment 6 replies
-
Unfortunately, the information you provided is not enough. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Update 2
I have some custom translators added for EF Core which seem to be causing the issue somehow.
I have copied two sections of code below. If I comment out the first part then it works fine. But if I leave the second part as shown below then it throws the error
All my code
Startup.cs
Custom SQL Translators
OLD INFO
I have tested an upgrade to .NET6 and got the below error:
Error - stack trace
In my research, I found an issue (linked below), after adding
Microsoft.Extensions.DependencyInjection.Specification.Tests
, running the unit tests from there came back fine - not sure what to do!aspnet/DependencyInjection#552
FYI: if I keep the project at .NET6 but roll back the below package references to 5.0.13 then the project works fine
Update 1
So, after a little more digging, I managed to find some more info.
I found a class that pulls in
IServiceProvider
through DI. I captured the below:It seems that
Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore<>
has aUsers
property that's anIQueryable
that's reporting the same error.Can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions