0

I'm really banging my head onto this one. I can't make the Custom Configuration to work with NUnit. It kept on failing to read the configuration file. I'm currently making a logging class.

I followed carefully this article: http://devlicio.us/blogs/derik_whittaker/archive/2006/11/13/app-config-and-custom-configuration-sections.aspx

placed the references in the Unit test class App.Config, still everything failed.

Is there some sort of a magic setting to do here?

Martin Ongtangco
  • 22,657
  • 16
  • 58
  • 84

1 Answers1

0

You need to define custom configuration in correct config file, see the following reference:

http://blog.coryfoy.com/2005/08/nunit-app-config-files-its-all-about-the-nunit-file/

ShahidAzim
  • 1,446
  • 1
  • 10
  • 15