title: Configsource path using wrongly
body: <p>I'm trying to use a config file by directing there from <code>App.config</code>.
  I have created a folder named <code>Config</code> inside my solution and created a new config file named <code>Environment.config</code>.</p>
  
  <p>My <code>App.Config</code> looks as following:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
      &lt;!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --&gt;
    &lt;/configSections&gt;
    &lt;entityFramework&gt;
      &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /&gt;
      &lt;providers&gt;
        &lt;provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /&gt;
      &lt;/providers&gt;
    &lt;/entityFramework&gt;
  &lt;startup&gt;&lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /&gt;&lt;/startup&gt;
    &lt;runtime&gt;
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /&gt;
          &lt;bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" /&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
    &lt;appSettings configSource="Config/Environment.config"/&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>and the <code>Environment.config</code> looks as the following:</p>
  
  <pre class="lang-xml prettyprint-override"><code>  &lt;appSettings&gt;
      &lt;add key="URL" value="http://foo.aspx"/&gt;
    &lt;/appSettings&gt;   
  </code></pre>
  
  <p>I'm getting an error which says:</p>
  
  <blockquote>
    <p>Result Message:<br>
    OneTimeSetUp: System.Configuration.ConfigurationErrorsException : Configuration system failed to initialize
    ----> System.Configuration.ConfigurationErrorsException : The configSource attribute must be a relative physical path, so the '/' character is not allowed. (D:\tfs\QA - Automation\Projects\ReportAppeal\ReportAppeal\bin\Debug\ReportAppeal.dll.config line 22)</p>
  </blockquote>
  
  <p>I have tried to switch from "/" to "\" but got a different error.</p>
  
  <blockquote>
    <p>Result Message:<br>
    System.Configuration.ConfigurationErrorsException : Unable to open configSource file 'Config\Environment.config'. (D:\tfs\QA - Automation\Projects\ReportAppeal\ReportAppeal\bin\Debug\ReportAppeal.dll.config line 22)
    TearDown : System.NullReferenceException : Object reference not set to an instance of an object.</p>
  </blockquote>
  
  <p>I'll probably need to change the way I'm directing the <code>Environment.config</code> file but I'm not sure how.</p>