Using Nuget referenced DLL in K2 Smartforms

279 Views Asked by At

i have 2 DLL (class libraries) and i want to use them in my K2 Workflow,One created using Visual studio and then the second one using Nuget From the same Visual Studio, which makes it 2, but i am having this worry.

I know you have to register the DLL but here in this case, there are 2 DLLs. (Main Program and the DLL from Nuget) Do i have to register the DLLs (including the one as gotten from Nuget ).

1

There are 1 best solutions below

0
On

If you reference the Nuget library in your project and compile it, you should get your project .dll. This .dll can be copied onto K2 server (ServiceBroker folder) if it is a custom Broker. Its service instance can be created which will be used to generate smartobjects and can be used further in Workflows. If your library is a Restful service you can register it on IIS server and create REST service instance on K2.