Abrir Fechadas

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


User avatar
0
jward01 criada

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 resposta (s)
  • User Avatar
    0
    maliming criada
    Equipe de Apoio 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 criada

    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 criada
    Equipe de Apoio 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 criada
    Equipe de Apoio Automatic process manager

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

Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11