Starts in:
1 DAY
18 HRS
15 MIN
4 SEC
Starts in:
1 D
18 H
15 M
4 S
Open Closed

How do I add a custom module to an existing ABP Commercial application solution #1671


User avatar
0
jward01 created

Hello!

Basically I want to know or find documentation on how I can add a custom standalone module to an existing ABP Commercial solution.

I have created a stand-alone module using the ABP Suite.

Now I am trying to add the code to an existing ABP solution.

I see the documentation here which refrences installing pre-made modules, or installing a module into an existing solution directly using ABP suite, but no documentation about merging the two such as:

  • I have an existing ABP Commercial Tiered application
  • I have a standalone module

Questions 1.) How do I install the standalone module? Is there any documentation for this?

I see some refrence on EasyABP about installing nuget packages (one nuget package for each project), but when i go to create a nuget package from each of my projects in my stand alone module, the option to 'Create package on build' is disabled.

**How can I add my existing module to an existing application? Is there any documentation for this? **

2.) If the answer is "I must add the project as a refrence" that seems pretty not great as then I have to have the source code of all my modules accessible. Is there a way I can create nuget packages?


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

    hi

    If you don't want to reference your module through the project, you can publish your module to nuget or myget(one package per module). Then install these packages in your application.

    However, it is very convenient to use project references during development.

  • User Avatar
    0
    jward01 created

    Thank you, this helps alot!

    Do you have a quick way to create nuspec files and include project / package refrences? I will need to create (1) nuspec per project which is pretty manual process.

    Is by hand the current method?

    Thanks!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can use C# to implement a program to do that.

    Call dotnet pack and dotnet add package command in the program.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

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