title: Trouble with NUnit when determining the assembly's directory
body: <p>I've just started to work with NUnit in order to provide some test coverage for my projects.</p>
  
  <p>Within my main library.dll I need to load up configuration data from an external file that goes with the library, library.xml.</p>
  
  <p>This works fine when I'm using the library, because I use the following to get the directory in which to look for the config file:</p>
  
  <pre><code>string settingspath = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
  </code></pre>
  
  <p>The problem I've noticed is that when I'm unit testing with NUnit, it copies my assemblies to a Shadow Copy, but doesn't take any of the other files with it, so of course my init fails due to missing config files.</p>
  
  <p>Should I be doing something different to locate config files from within my library? (it's a server app, and I don't want to use the standard app settings, or user's local settings, etc)</p>