0
mgurer created
- Exception message and full stack trace: Hello, I am trying to upgrade my solution to 10.0.0. Volo.Abp.EntityFrameworkCore.PostgreSql package references to Npgsql.EntityFrameworkCore.PostgreSQL version 10.0.0-rc1. This leads to build warnings. I guess your internal package references needs to be updated.
- Steps to reproduce the issue:

2 Answer(s)
-
0
- Solution
- What you see is expected for ABP 10.0.0 at the moment. ABP 10 targets .NET/EF Core 10, and the Npgsql EF Core provider published a matching 10.0.0-rc1 package when ABP 10.0.0 shipped. Therefore, Volo.Abp.EntityFrameworkCore.PostgreSql brings Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0-rc1 transitively.
- This produces build warnings but is safe to use. When Npgsql releases the stable 10.0.0 provider, ABP will align its dependency to the stable version in a patch release.
Workarounds you can apply today:
Suppress prerelease warning noise and stay on the transitive version (recommended until ABP bumps):
- No action needed; continue building and running.
Force the stable provider version when it becomes available:
- Add an explicit PackageReference in your csproj to pin the provider:
<ItemGroup> <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" /> </ItemGroup>This overrides the transitive rc1 from Volo.Abp.EntityFrameworkCore.PostgreSql.
- If you prefer to stay fully stable right now, use ABP 9.3.x (EF Core 9) with Npgsql EF Core 9.x, or wait for the next ABP 10 patch that updates to the stable Npgsql 10.
- Sources
- NuGet – Volo.Abp.EntityFrameworkCore.PostgreSql: https://www.nuget.org/packages/Volo.Abp.EntityFrameworkCore.PostgreSql
- NuGet – Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0: https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.PostgreSQL/10.0.0
- ABP GitHub (release alignment reference): https://github.com/abpframework/abp
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
