cancel
Showing results for 
Search instead for 
Did you mean: 

Blue Prism and .NET Core DLL

AndrewZyuzin
Level 2

Hello!
How can I link a .NET Core 3.1 library to RPA?

I put the DLL in the program directory.
I added all libraries from the "c:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.7\" folder to the "External References".
The error counter is zero.
After clicking "Go", I get an error: "Internal : Could not create an instance of the code class because the class is not compiled".
Even if I make the "Code1" block empty, the error still appears.
What should I do?
Does Blue Prism support libraries written in .Net Core?

In attachment:
  • SimpleRobotNetCore.zip - source code of the library, including the dll file
  • SimpleRobotNetCoreDll.xml - my project (for Blue Prism > File> Import Process or Business Object)

1122.png
1123.png
1124.png
1125.png



------------------------------
Andrew Zyuzin
Product owner
ABBYY
Europe/Moscow
------------------------------
1 REPLY 1

KaranSareen
Staff
Staff

Blue Prism supports .Net Framework but has never been tested with .Net Core Framework. I'm not sure this will work. The code compilation occurs in a Blue Prism .NET Framework project and dll output from the code stage will be a .NET Framework dll. I don't think you would be able to reference .NET Core dlls directly in a code stage. You would possibly be able to reference .NET Standard dlls.

If you have the access to code of the dll (or can reverse engineer it) then as a workaround, you can compile it as a .Net Framework dll which can then be easily consumed in Blue Prism.    



------------------------------
Karan Sareen
Solution Support Engineer
Blueprism
Australia/Sydney
------------------------------