title: NuGet Package fails to add reference to project for DLL inside lib directory
body: <p>I'm attempting to package up a .NET DLL which references a C++ DLL.  The nuspec file looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;package &gt;
    &lt;metadata&gt;
      &lt;id&gt;MyPackage&lt;/id&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
      &lt;authors&gt;some author&lt;/authors&gt;
      &lt;owners&gt;some owner&lt;/owners&gt;
      &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt;
      &lt;description&gt;.NET Wrapper for rebuilt 64-bit version of MyPackage&lt;/description&gt;
      &lt;copyright&gt;Copyright 2014&lt;/copyright&gt;
    &lt;/metadata&gt;
    &lt;files&gt;
      &lt;file src="x64\MyPackage64.dll" target="content" /&gt;
      &lt;file src="MyPackageNET.dll" target="lib" /&gt;
    &lt;/files&gt;
  &lt;/package&gt;
  </code></pre>
  
  <p>When I examine the generated nupkg file, the internal file structure appears correct.  The C++ DLL is in <code>content</code> and the .NET DLL is in the <code>lib</code>.  </p>
  
  <p>When I install the nupkg into a project, the content DLL is added to the project root and the lib DLL is added to the solution <code>packages</code> directory.</p>
  
  <p>However, <strong>no reference</strong> is added to the project.  I am forced to manually add the reference.  I have tried adding the following node to metadata, to no avail:</p>
  
  <pre><code>&lt;references&gt;
    &lt;reference file="MyPackageNET.dll" /&gt;
  &lt;/references&gt;
  </code></pre>
  
  <p>Am I doing something wrong?  I've generated other nuspec &amp; nupkg files from varoius .csproj files, which properly add references to projects in which they've been installed.  Is there something about the packaging of individual DLLs I've missed that is keeping a reference from being added to the project?  </p>
  
  <p>On a related note, if I cannot automatically add the reference, can anyone direct me to any resources which would explain the syntax of the $project.Object.Reference.Add method, or which would help me programmatically add a reference to the DLL to my project?</p>