Closed Misiu closed 4 weeks ago
Not sure this is really a Carter issue. I could argue it's a Entity Framework Problem.
The version Carter uses is actually out of date too.
To be honest I don't know what the best solution would be, but lowering the Nuget version in Carter solved.the issue. I think the bump in EF will happen in the .NET 9 release, so for now.the wastes solution would be to probably lower the required version in Carter.
Any chance this might be merged?
I'm afraid not, sorry
That's sad news to be honest. Any particular reason for that? The issue is solved, all tests pass.
I can always fork the repo and release a custom version to Nuget, but I'd prefer to stay with the official package.
I'll report the issue to EF team, let's see what they say.
Anyways, thank you for such fast reply:)
The current workaround is installing these packages directly in the project:
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.7.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" />
as suggested in https://github.com/dotnet/efcore/issues/32070
I want to use ValidateAsyncMethod from version 8.2.0, but when I try to update the package I get this error:
I have these packages in my project:
This is a simple .NET 8 Minimal API project that is using Carted an EF.