New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error When Converting to Entityframework core 3.1 #263
Comments
please add more information, which libraries and versions are your referencing? could you share a minimal sample that reproduces the issue? |
I Upgrade All Entity Framework Nuget Package from 2.2 to 3.1 and Use Below Code:
When Edit data show below error: |
Which Audit.* package versions are you referencing? please make sure you are using the latest version. |
I ensure used last audit version by upgrade all NuGet package |
I'm unable to reproduce the issue. I've created a new console app with following csproj code:
And tested adding a new entity to a SQL server and saving/audit succeeded. Could you share a minimal project that reproduces the problem? |
|
Still unable to reproduce. Please share a minimal runnable project that fails. or share the code that is failing and the stack trace. Maybe cleaning your solution, deleting bin/obj folders could help, (if you didn't try that already) |
Here is stack trace
and I try cleaning your solution, deleting bin/obj folders but not working. |
I think the problem is mixing .net framework projects with .net core projects, You are referencing the net461 version of Check this #IF:
The library referenced on your main project : Maybe you could try by removing the Audit.EF.Core reference from your .net framework project, and reference them on your .net core projects only |
is not work, I replace with Z Entity Framework Core Audit and does not any error but audit.net is better |
All packages I’d upgrade latest version and try try try but is not work |
could you share an updated project that fails? |
When Convert Project to Error When Converting to Entityframework core 3.1 show bellow error to me
Could not load type 'Microsoft.EntityFrameworkCore.Relational Metadata Extensions' from assembly 'Microsoft.EntityFrameworkCore.Relational, Version=3.1.0.0
The text was updated successfully, but these errors were encountered: