Repository navigation
Bump Microsoft.EntityFrameworkCore and Microsoft.EntityFrameworkCore.Proxies - #7
dependabot[bot] wants to merge 1 commit into
Conversation
…Proxies Bumps Microsoft.EntityFrameworkCore from 8.0.0 to 9.0.22 Bumps Microsoft.EntityFrameworkCore.Proxies from 8.0.0 to 9.0.22 --- updated-dependencies: - dependency-name: Microsoft.EntityFrameworkCore dependency-version: 9.0.22 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: Microsoft.EntityFrameworkCore.Proxies dependency-version: 9.0.22 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
| <PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.22" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.0"> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="8.0.0" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="9.0.22" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" /> |
There was a problem hiding this comment.
Mixed EF Core major versions in a single project while targeting net8.0 runtime
EF Core 9.x requires .NET 9 features and the version skew causes assembly loading conflicts and contract breaks between EF Core core, relational, SQL provider, and tools assemblies. Either upgrade all EF Core packages to 9.0.22 and change TargetFramework to net9.0, or downgrade Proxies back to 8.0.0 to maintain uniformity across the EF ecosystem.
Prompt for LLM
File Database/Database.csproj, lines 10-17:
Mixed EF Core major versions in a single project while targeting net8.0 runtime
EF Core packages are mixed between major versions 8 and 9 while targeting net8.0 runtime. EF Core 9.x requires .NET 9 features and the version skew causes assembly loading conflicts and contract breaks between EF Core core, relational, SQL provider, and tools assemblies. Either upgrade all EF Core packages to 9.0.22 and change TargetFramework to net9.0, or downgrade Proxies back to 8.0.0 to maintain uniformity across the EF ecosystem.
Suggested code:
<!-- Either align all to 9.0 and update target framework, or keep all at 8.0 -->
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
Upgraded Microsoft.EntityFrameworkCore and Related Packages
Summary
This PR updates the Entity Framework Core packages from version 8.0.0 to 9.0.22 in the Database project. The changes include:
The remaining EF Core packages (Design, Relational, SqlServer, Tools) remain at version 8.0.0 to maintain compatibility with build and design-time tooling.
Impact
This partial version upgrade brings the Entity Framework Core runtime and proxies up to the latest major version (9.x), while keeping compatible versions for package tools and utilities designed for EF Core 8.x. This incremental approach ensures core functionality receives newer features and security updates without breaking change detection during build time or design-time operations.