Link to home
Start Free TrialLog in
Avatar of DaFou

asked on

setting a different app.config

Hi Experts,

I have a class. This class uses the assembly's app.config file to fetch some settings.
This works perfectly under normal conditions.

But when I use that class from out another assembly the class cannot find the settings in the app.config ( which is normal becuase the main app's app.config is used )

How do I ( temporarily ) force the run time to use another app.config file and treat it as the current configuration file so that when using the class from another assembly the class keeps working
Avatar of LordWabbit

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial