title: NuGet add external reference
body: <p>I have a .nuspec file for my project, which references a third-party DLL that the project including my package needs to reference.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;package &gt;
  &lt;metadata&gt;
  &lt;id&gt;$id$&lt;/id&gt;
  &lt;version&gt;$version$&lt;/version&gt;
  &lt;title&gt;$title$&lt;/title&gt;
  &lt;authors&gt;$author$&lt;/authors&gt;
  &lt;owners&gt;$author$&lt;/owners&gt;
  &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt;
  &lt;description&gt;$description$&lt;/description&gt;
  &lt;releaseNotes&gt;Locked against log4net 1.2 - less than 1.2.11 which has breaking changes&lt;/releaseNotes&gt;
  &lt;copyright&gt;Copyright 2012  blah blah&lt;/copyright&gt;
  &lt;dependencies&gt;
    &lt;dependency id="log4net" version="[1.2,1.2.11)" /&gt;
    &lt;dependency id="My.Other.Project" /&gt;
  &lt;/dependencies&gt;
  &lt;references&gt;
    &lt;reference file="Third.Party.dll" /&gt;
  &lt;/references&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>If I try to run nuget.exe pack My.Project.csproj from the directory with the .csproj and the .nuspec file, I get </p>
  
  <p>Invalid assembly reference 'Third.Party.dll'. Ensure that a file named 'Third.Party.dll' exists in the lib directory.</p>
  
  <p>I have created 
  .\lib
  .\bin\Debug\lib
  .\obj\lib</p>
  
  <p>and the file is in all three places. Where does it REALLY want the lib folder?</p>