NUnit App.Config files – it’s all about the .nunit file! Posted on August 24, 2005 by Cory Foy 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: \src\MyProject\MyProject.nunit\src\MyProject\MyProject\MyProject.sln\src\MyProject\MyProject\bin\debug 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.