Open Closed

ABP Studio does not support creating projects with a specific version #8698


User avatar
0
heshengli created

ABP Studio does not support creating projects with a specific version


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

    image.png
    You have to switch it manually. It's too much trouble
    https://abp.io/docs/latest/studio/version-mapping#abp-studio-and-abp-startup-template-version-mappings

    Hi, yes currently there is a restriction as you stated. We have a documentation that shows which ABP Studio version creates templates in which ABP versions: https://abp.io/docs/9.0/studio/version-mapping

    You can check this documentation to see the version mapping. We have an internal issue supporting creating a template in a specific version and we will consider it and will try to prioritize it asap.

    Thanks for your understanding. Regards.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Here are some CLI commands that I think will make your process easier:

    # Uninstall CLI
    dotnet tool uninstall --global Volo.Abp.Studio.Cli
    
    # Install CLI with 0.9.7 version. This version generates templates with 8.3.3 of ABP version. 
    # See more https://abp.io/docs/9.0/studio/version-mapping
    dotnet tool install --global Volo.Abp.Cli --version 0.9.7
    
    # Template generation. You can change the parameters to fit you.
    abp new Acme.BookStore --csf
    
    # Necessary codes to switch back to the latest version of the CLI
    dotnet tool uninstall --global Volo.Abp.Studio.Cli
    dotnet tool install --global Volo.Abp.Cli 
    
Made with ❤️ on ABP v9.2.0-preview. Updated on January 23, 2025, 12:17