title: Install NuGet package without adding any references in Visual Studio
body: <p>I need to create a NuGet package with DLLs which should not be directly referenced in Visual Studio. The idea is for them to end up in some kind of <code>bin</code> folder during build, as they will be implicitly called by other assemblies during runtime.</p>
  
  <p>The best solution I could find is to add into the package a DLL which I planned to reference anyway, so that that's referenced and the other DLLs are not (<a href="https://docs.microsoft.com/en-us/nuget/reference/nuspec#Specifying_Explicit_Assembly_References" rel="nofollow noreferrer">source</a>):</p>
  
  <pre><code>&lt;references&gt;
      &lt;reference file="OnlyTheFileIWantReferenced.dll" /&gt;
  &lt;/references&gt;
  </code></pre>
  
  <p>But ideally I'd like to find a way to do this without the workaround above, I'm sure there's bound to be some kind of directive in the <code>.nuspec</code> file I am missing.</p>