When you are running an assembly test in NUnit, you may need to access
App.Config values. NUnit loads the
App.config files by looking for a file with AssemblyName.config.
However, in the default configuration, that .config file has to be in the same directory as the .nunit project file. For example, we had the following setup:
putting the MyProject.config file in either
\src\MyProject\MyProject or in
\src\MyProject\MyProject\bin\debug doesn’t work – NUnit can’t find it. Putting it in
\src\MyProject works like a charm.