Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions samples/LinqContraband.Sample/LinqContraband.Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.14"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.17"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep EF Core packages on the same patch

For the net9.0 sample build this updates only the base Microsoft.EntityFrameworkCore reference to 9.0.17 while the directly referenced Microsoft.EntityFrameworkCore.Relational package in the same target remains at 9.0.14. EF Core's package guidance is to keep Microsoft-shipped Microsoft.EntityFrameworkCore.* packages on the same version, and NuGet won't enforce it here because Relational declares only a lower-bound dependency; samples that compile relational extension methods such as ExecuteDelete/ExecuteUpdate now resolve an unsupported mix. Please bump Relational to 9.0.17 wherever this EFCore reference is updated.

Useful? React with 👍 / 👎.

<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.14"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.0"/>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.14"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.17"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.14"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.14"/>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.17"/>
</ItemGroup>
</Project>
Loading