05-07-23 05:47 PM
Has anyone had this problem before?
Thanks in advance,
05-07-23 05:56 PM
When you say you developed the code in Visual Studio, which .NET framework did you target in your VS project? If you targeted anything other than .NET Framework v4.7 or v4.8 (depending on your BP version) you'll have problems like this.
Cheers,
06-07-23 08:01 AM
Hello @ewilson ,
It seems that the IBM MQ .NET DLL works with .NET Core 6.0.
Is there any way to still interface this code that will be used to retrieve input data for the virtual assistant?
Thanks,
06-07-23 02:55 PM
Sometimes you can get away with including references to the various .NET Core assemblies. Try adding a reference to System.Runtime.dll in the Code Options -> External References. However, sometimes this just leads to other more convoluted compiler errors.
I'm pretty sure IBM should have a .NET Framework version of the MQ libraries. Take a look at this link: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=net-installing-mq-classes-framework
Cheers,
06-07-23 03:24 PM
Thanks for your feedback.
We use the amqmdnetstd.dll from the following link https://www.nuget.org/packages/IBMMQDotnetClient
What we can't understand is that from visual studio the code works perfectly.
We added the following dlls earlier, but with the same problems:
Microsoft.CSharp
System
System.Core
System.Data
System.Data.DataSetExtensions
System.Net.Http
System.Xml
System.Runtime.dll
06-07-23 03:54 PM
Within that nuget there are two versions of the IBM DLL. One is built for .NET Core v6 while the other is built for .NET Standard v2. I'd try to the .NET Standard v2 library. Drop it in the Blue Prism Automate folder (ex. C:\Program Files\Blue Prism Limited\Blue Prism Automate) and restart your instance of Blue Prism. Then see if you get the same compiler errors.
Cheers,
06-07-23 04:34 PM
I've just tested by putting the dll present in the netstandard folder.
Without any reference to an additional DLL (to that of ibm mq) we get errors asking us to import the netstandard.dll.
And when we import it, we still get the same errors as when we created the post...
06-07-23 04:38 PM
What version of Blue Prism are you using?
Cheers,
06-07-23 08:48 PM
We use BluePrism 7.2.0 on Windows Server 2019
06-07-23 08:58 PM
32 or 64 bit version?
Cheers,