Open Closed

Generating CRUD using abp suite for module #8266


User avatar
0
surajlokhandemmew created

ABP Framework version: v8.1.0

UI Type: MVC

Database System: MongoDB

Tiered (for MVC) or Auth Server Separated (for Angular): no

I generated a module using ABP.IO within the same solution. However, when I try to create CRUD operations, they are being added to the main project instead of the module, even though I specify the module's namespace. The main project already has a namespace with the same name as the module.

I hope you are getting me.


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

    Hi,

    could you please share the full steps to reproduce ? thanks.

  • User Avatar
    0
    surajlokhandemmew created

    Hi,

    could you please share the full steps to reproduce ? thanks.

    Generate the Module: You created a new module using ABP.IO, and this module is part of the same solution as your main project.

    Namespace Conflict: Your module and main project have a namespace with the same name. For example, if your module is called MyModule, you already have MyModule as a namespace in your main project.

    Creating CRUD Operations: When you try to add CRUD functionality (like an entity or service) to your module, the code files are being generated in the main project, not in your module project, even though you specify the MyModule namespace.

    Expected Result: You want the CRUD code to be generated inside your module project, not the main project.

    Actual Result: Despite specifying the namespace to match the module, the CRUD code goes into the main project.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    i can't reproduce the problem

  • User Avatar
    0
    surajlokhandemmew created

    Hi,

    i can't reproduce the problem

    I don’t see the project with the module chip; there’s only one project visible. Do I need to do anything to make it appear?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry I don't understand.

    could you please share a test project with me? i will check it. shiwei.liang@volosoft.com

  • User Avatar
    0
    surajlokhandemmew created

    No i cant, can we share screen and finalize it? with windows quick assist etc?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    you can use a new project to reproduce the problem.

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