yesterday
Hello,
I am posting here because the issue came up when working with MSAL that needs external DLL.
When we copy the Microsoft.Identity.Client.dll file to the folder where automate.exe is located it works.
When we copy the dll to another folder Blue Prism will bring up an error message because of compile error. This make sense as Blue Prism does not know where this dll is.
We can resolve the compile error by qualifying the full path to the dll. I would assume Blue Prism find the dll, can resolve dependencies and namespaces as there is no compile error.
Although BP seems to be fine with the reference to the dll we get this error at runtime:
Internal : Could not execute code stage because exception thrown by code stage: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.42.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae' or one of its dependencies. The system cannot find the file specified.
Internet provides me solutions for C# projects but not how to resolve this problem for compiled executables like Blue Prism.
I just created similar situations with Microsoft.Office.Interop.Outlook.dll and it does not matter where this dll is located, next to automate.exe or some other folder as long as the location is fully qualified.
What are we missing to make Microsoft.Identity.Client.dll work when located in a folder separate to automate.exe?
Thanks a lot,
Walter