Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-10-20 05:31 PM
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.
The following errors occured.
If I changed the reference with a full path, I got these hint.

But with the full path my code works without problems.

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
------------------------------
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.
The following errors occured.
If I changed the reference with a full path, I got these hint.
But with the full path my code works without problems.
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
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-20 02:53 PM
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
------------------------------
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
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-20 02:53 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-20 08:45 PM
Thanks @Eric Wilson
its really useful.
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
its really useful.
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Nilesh Jadhav.
Consultant
ADP,India
Consultant
ADP,India
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-10-20 06:43 AM
@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
------------------------------
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
------------------------------
