App.Config files

Dear all,

when you use a config file for a Visual Studio application, make sure to do a few things:

1.) Make sure to create an identical app.config file for your test project. Otherwise, when running tests, the config file will not be found.

2.) If you're going to use ConfigurationManager, you have to add a reference to it under the references tab in Solution Explorer.



Popular Posts