Open Closed

abp cli creates new projects with old version #9380


User avatar
0
merdan created

I have a strange problem, when I try to create a new project, it always uses version 9.1.1, but the current latest version is 9.1.3 Also tried to specify version with -v 9.1.3 and --version 9.1.3 with no luck. Also tried to uninstall and reinstall cli, still the same result. Also tried to create a project with ABP Studio, still the same result.

Is there an option to specify a version? Or how to force CLI/Studio to use the latest template version?


3 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, currently the ABP Studio CLI, uses a versioning system like in the mapping table here

    So, currently, the latest ABP Studio CLI creates projects with v9.1.1, if you want to use v9.1.3, after creating your solution, you can select the "Switch to stable" option from ABP Studio UI:

    or alternatively, use the ABP Studio CLI and run the following command in the root directory:

    abp switch-to-stable
    

    https://abp.io/docs/latest/cli#switch-to-stable

    Regards.

  • User Avatar
    0
    merdan created

    Ok, thanks for the clarification. Am I right to think that startup templates don't change on patch releases (like in my case, between 9.1.1 and 9.1.3), so I can just update ABP packages and keep other files as is?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [merdan] said: Ok, thanks for the clarification. Am I right to think that startup templates don't change on patch releases (like in my case, between 9.1.1 and 9.1.3), so I can just update ABP packages and keep other files as is?

    Yes, in patch releases we only fix bugs, and typically you don't need to change any file. You can directly switch to stable and continue developing.

    Regards.

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 v9.3.0-preview. Updated on June 13, 2025, 11:37