Open Closed

build module with version 6.0.2 #9573


User avatar
0
hayash created

Hello, I'm having an issue when trying to build a new module using the following command: bashCopyEditabp add-module EmailArchiving --new --add-to-solution-file --version 6.0.2 The command throws an error and the module is not created. Can someone please help me resolve this or provide the correct way to build a module with ABP CLI version 6.0.2? Thank you in advance! Best regards,


1 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    The error "There is no version found with given version: 6.0.2" indicates that the ABP CLI cannot find the required module template for version 6.0.2. This usually happens if the specific version's templates are not available on the ABP template source.

    To resolve this issue, follow these steps:

    1. Make sure you are using the correct ABP CLI version that matches your target ABP Framework version (6.0.2). You can update or install a specific version of the CLI with:

      dotnet tool update -g Volo.Abp.Cli --version 6.0.2
      
    2. If the problem persists, try omitting the --version parameter. The CLI will use the solution's version or the latest compatible template:

      abp add-module EmailArchiving --new --add-to-solution-file
      
    3. If you must specify the version, ensure that the version exists in the ABP template repository. Sometimes, not all patch versions have published templates. Try using a more general version (e.g., 6.0.0) or the latest available 6.x version.

    4. If you still encounter issues, you can manually create a module using the CLI and then adjust the dependencies in the .csproj files to match your solution's version.

    For more details, see the official documentation:

    If the template for 6.0.2 is not available, use the closest available version and align your dependencies manually.


    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.

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.0.0-preview. Updated on July 11, 2025, 11:35