title: Unit-tests can't read from config files
body: <p>We have a setup where we use Visual Studio 2012 to run our nunit-based unit tests from our local dev environments.</p>
  
  <p>However, we have observed the following pattern:</p>
  
  <ol>
  <li><p>When running unit tests the first time after Visual Studio has been
  launched, the tests fail when reading from config-files.</p></li>
  <li><p>When rerunning the failing unit tests they can read the values from
      config files just fine.</p></li>
  </ol>
  
  <p>This is truly a little bit annoying so I was hoping for a bit of help here :-).</p>
  
  <p>I looked at <a href="https://stackoverflow.com/questions/1633607/problem-in-reading-connection-string-from-app-config-when-using-nunit-2-5-2/5821939#5821939">Problem in reading connection string from App.Config when using NUnit 2.5.2</a> , but since we run our unit tests directly in Visual Studio, there is no way for us to configure NUnit directly.</p>