To build a Nomirun module as NuGet package, you need to run this command with Nomirun CLI:
❯ nomirun module build --module-name CrmService --version 1.0.0 --module-csproj "d:\Nomirun\CrmService\src\CrmService.csproj" --nuget-server-name "Local Folder"
This will push the Nomirun module NuGet package to the Local Folder
NuGet server. You can also push it to other NuGet
Servers (Azure DevOps, GitHub, Baget) that are specified in your configuration at the initialization step.
Once you have a built module, you can now run it locally, loading the module in the standalone Nomirun Host. Use Nomirun CLI for that:
❯ nomirun module start --module-name CrmService --version 1.0.0 --host-framework net9.0
This will run module CrmService 1.0.0 with standalone Nomirun Host on your PC.
Please note that you cannot start a module without building it first.
To stop the Nomirun module from the CLI, use the command below. You can also manually close the running Nomirun Host.
❯ nomirun module stop --module-name CrmService --version 1.0.0