Open Closed

How to add a module that I created using ABP Suite in one solution to a different solution. #7123


User avatar
0
innovawide created

How to add a module that I created using ABP Suite in one solution to a different solution. * ABP Framework version:7.2.1

  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Suite doesn't support this, you need to add your module to solution manually

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    innovawide created

    I need to know how I can manually add it to another solution. After integrating it into the new solution, can I modify it using a suite or not?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    can I modify it using a suite or not?

    Of course, you can.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Add Module's Application project reference to another solution's Application project.

    And configure the module dependencies

    [DependsOn(
        .....
        typeof(ModuleApplicationModule)
        )]
    public class AnotherSolutionApplicationModule : AbpModule
    {
    }
    

    Do the same thing above for other projects(Application.Contract , Domain , Domain.Shared, EntityFrameworkCore, HttpAPi, HttpApi.Client ...)

    Config EntityFrameworkcore project

    public class AnotherSolutionDbContext: ...
    {
        protected override void OnModelCreating(ModelBuilder builder)
        {
            builder.ConfigureModule();
        }
    }
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    innovawide created

    What about the frontend side (Angular)? Will it be generated automatically or what?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    There two ways to add Angular part.

    1. Publish angular code to NPM or NPM npm server, Then install it via NPM package
    2. Copy code to the another solution's Angular project.

    Config the Angular module, you can refer to : https://docs.abp.io/en/commercial/latest/modules/chat#angular-ui

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 23, 2026, 09:57
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.