BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

Abp Version 10.0.0 upgrade. Invalid -rc1 refences. #10132


User avatar
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)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. 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.
    1. 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.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The Npgsql.EntityFrameworkCore.PostgreSQL does not support EF Core 10.0 official version yet. We will upgrade it as soon as a new version is released.

    https://www.nuget.org/packages/npgsql.entityframeworkcore.postgresql#versions-body-tab

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.