title: how to set relative path in nuget.config?
body: <p>I currently have the following <code>nuget.config</code> file. With automatic package restore it will create a package folder that is one level up from my solution folder. For example if my solution folder is on my desktop, the package folder will be generated within a <code>/lib</code> folder on my desktop. I would like for it to generate the <code>/lib</code> folder within my solution folder. How do I change the relative path to accomplish this?</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;solution&gt;
      &lt;add key="disableSourceControlIntegration"
        value="true" /&gt;
    &lt;/solution&gt;
    &lt;config&gt;
      &lt;add key="repositoryPath"
        value="../lib" /&gt;
    &lt;/config&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>For example,</p>
  
  <p>Bad: \desktop\lib\</p>
  
  <p>Good: \desktop\mysolution\lib\</p>
  
  <p>I tried this:</p>
  
  <pre><code>  &lt;config&gt;
      &lt;add key="repositoryPath"
        value="/lib" /&gt;
    &lt;/config&gt;
  </code></pre>
  
  <p>..and the package restore directory becomes <code>c:\lib</code> which is unexpected behavior.</p>