Configuration Settings and App.Config

Feb 6, 2010 at 12:34 PM

Hi,

I want to use AutoRun to run some existing assemblies. I plan to write a wrapper class inheriting from TaskBase which will then call the assembly.

Some of these are designed to be run from a console app and hence have their own app.config file.

Is there a way to get this configuration into the application at run time? Otherwise I would need to refactor these assemblies to allow the configuration to be passed in from the parameters section in Autorun.

Thanks.

Coordinator
Feb 7, 2010 at 9:12 PM

Hello,

there is no way to let each assembly use its own app.config. Since you plan to write a wrapper, maybe this class could implement the logic the pass to the TaskBase object the Parameters collection object?

Best regards

Serge