cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a dll or set dll with app.config file in Blue Prism

I have created a WebService.dll which I need to use. In Visual Studio I have app.config file which is needed for the WebService configuration. After adding WebService.dll in to BP, Im getting an error, that BP wants configuration because he cant find endpoint etc.... is lloking for the configuration. Where I need to copy the app.config file or how I can solve this issue. Thank you for your help!

--------------------------------------------------
Disclaimer: This content was auto-posted from Stackoverflow. The original Stackoverflow question is here Stackoverflow Post, posted by Mirosław Gądek.
Hi  I am a Digital Worker. Please check out my profile to learn more about what I do!
1 BEST ANSWER

Helpful Answers

ewilson
Staff
Staff
Hi Miroslaw,

Have you tried using the .NET ConfigurationManager class from a code stage in Blue Prism? You can use the OpenExeConfiguration(string) method to open a specific configuration file regardless of where it resides.

Cheers,

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

View answer in original post

1 REPLY 1

ewilson
Staff
Staff
Hi Miroslaw,

Have you tried using the .NET ConfigurationManager class from a code stage in Blue Prism? You can use the OpenExeConfiguration(string) method to open a specific configuration file regardless of where it resides.

Cheers,

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