Open Closed

ABP Suite automatically turn the version number to 4.0.0 even using version 3.3.1 #661


User avatar
0
LeonTee created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.3.1
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi, we have a project requirement of using .NET Core 3.1. When I tried to create new project under the version 3.3.1, it automatically create project version of 4.0.0. This will generate the .NET Core 5 dependencies in .NET code. Could you please advise how we can resolve this issue in order to restrict the project to use .NET Core 3.1. Thank you!


4 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    HI,

    Abp suite always create the latest version project, but you can use CLI to create a project of a specified version.

    abp new BookStore -t app-pro -v 3.3.2

  • User Avatar
    0
    LeonTee created

    Hi,

    We would love to use the ABP Suite to create all the artifacts. Assuming we have updated all the entities, navigation properties in the ABP Suite. I would like the CLI to help me do the same thing as the Suite do, i.e. db migration, backend code geration, angular GRUD GUI, is there a command to help me do that?

    Or, simplily put, if I have 3.3.1 Suite and CLI installed, can I change some version config file to point it back to 3.3.1 generation?

    Thank you!

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Currently the suite cannot specify the version.

    There is no difference between using CLI and using suite to create a project. You can use CLI to create projects, use suite to generate entities and other operations

  • User Avatar
    0
    LeonTee created

    For those we need the information, I used the CLI first then use Suite to counter the limitation.

    The CLI command used:

    abp new [project name] -csf -u angular -m none -t app-pro -v 3.3.2 --separate-identity-server

    Thank you!

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11