Ends in:
7 DAYS
22 HRS
34 MIN
27 SEC
Ends in:
7 D
22 H
34 M
27 S
Open Closed

Module created with ABP Studio cannot be opened with ABP Sute, host folder does not exist due to error. #7760


User avatar
0
lszabados@consult2000.hu created
  • ABP Framework version: v8.2.1
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System:** EF Core** (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • ABP Studio version: 0.7.7
  • ABP Suite version: 8.2.1
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  1. Create new Solution with ABP Studio. (Build, and Run OK)
  2. Add -> New Module -> DDD Module (OK)
  3. Module open with ABP Suite -> Error

If I create the module with ABP Suite, the Host folder with the necessary projects is created, but I cannot load it into ABP Studio.


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

    Hi, I successfully reproduced the problem and will fix it with the next release. Also, I refunded your ticket.

    For a quick workaround, you can open the appsettings.json file under the .abp/suite folder in your user-profile directory, and find the related module in the json file, and do the following change:

    - "ProjectTemplateType": 2,
    + "ProjectTemplateType": 1
    

    Then, you should be able to generate CRUD pages for the module.

  • User Avatar
    1
    lszabados@consult2000.hu created

    Hello!

    Thank you for your reply. The workaround solved the opening problem, but after that there were other errors.

    I was able to resolve these by manual creation, but thought I'd report them.

    After creating an Entity, another error message because the Domain/{Finance}Const class referenced by {Finance}DbContextModelCreatingExtensions was not created (DbTablePrefix and DbSchema values were needed).

    In the Web project, the var l = context.GetLocalizer<> is not defined in the ConfigureMainMenuAsync method in the MenuContributor class.

    Best regards

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06