Open Closed

upgrading solution and packages #10559


User avatar
0
abmag created

Having an abp dotnet solution. How to upgrade all packages to latest version ?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • Install/upgrade the ABP CLI:
    dotnet tool update -g Volo.Abp.Cli
      # (or first time)
      dotnet tool install -g Volo.Abp.Cli
    
    • In your solution folder (where the .sln is), run:
    abp update
    

    This updates all ABP-related NuGet and NPM packages in the solution.

    • Rebuild and then check the official upgrading notes for version-specific/manual steps (breaking changes, migrations, etc.):

      • https://abp.io/docs/latest/release-info/upgrading
    • If you only want to update NPM packages (Angular UI), you can run the update command with the --npm option (supported by the ABP CLI):

    abp update --npm
    
    • Notes:

      • abp update targets ABP packages. For non-ABP NuGet packages, use standard .NET tooling (e.g., dotnet list package --outdated and update as needed), but keep ABP packages on consistent versions.
    • https://docs.abp.io/en/abp/latest/CLI

    • https://abp.io/docs/latest/cli

    • https://abp.io/docs/latest/release-info/upgrading


    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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi,

    You can use the ABP CLI to upgrade all ABP-related packages in your solution.

    First, make sure you have the latest ABP CLI:

    dotnet tool update -g Volo.Abp.Cli
    

    Then navigate to your solution root folder and run:

    abp update
    

    This command will automatically update all ABP NuGet packages across the solution. If you also want to update NPM packages, add the --npm flag:

    abp update --npm
    

    If you want to upgrade to a specific version, use:

    abp update --version <target-version>
    

    After upgrading, please check the migration guide for any breaking changes or required manual steps for your target version.

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 24, 2026, 12:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.