cancel
Showing results for 
Search instead for 
Did you mean: 

Library in Global Assembly Cache can not Located

StefanSchnell1
Level 7
Hello Community,
today I tried to load assemblies, which are available in the Global Assembly Cache (GAC), but unfortunately it doesn't work. I wanted to load two additional assemblies and a namespace.
8279.png

The following errors occured.
8282.png

If I changed the reference with a full path, I got these hint.
8284.png
8285.png
But with the full path my code works without problems.

8286.png
I read here that the GAC is typically accessible to Blue Prism.

How can I implement that the libraries are used from the GAC, without specifying a path?
That would guarantee me version independence.

Thanks for hints and tips.
Best regards
Stefan



------------------------------
Stefan Schnell
Senior Systems Engineer at BWI GmbH
------------------------------
1 BEST ANSWER

Best Answers

ewilson
Staff
Staff
Hi @StefanSchnell1,

There's some information about loading DLLs in this thread. Something else you might consider is that if the DLLs you've placed in the GAC have requirements on any other files (ex additional DLLs) then BP has to be able to access those DLLs as well, otherwise loading of the GAC DLLs will fail.

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

View answer in original post

3 REPLIES 3

ewilson
Staff
Staff
Hi @StefanSchnell1,

There's some information about loading DLLs in this thread. Something else you might consider is that if the DLLs you've placed in the GAC have requirements on any other files (ex additional DLLs) then BP has to be able to access those DLLs as well, otherwise loading of the GAC DLLs will fail.

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

Thanks @Eric Wilson

its really useful.

Thanks
Nilesh

------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Nilesh Jadhav.
Consultant
ADP,India

@ewilson

Hello Eric,
thanks for your reply and the additional information, very valuable to know.
Best regards
Stefan

------------------------------
Stefan Schnell
Senior Systems Engineer at BWI GmbH
------------------------------