title: Including referenced project DLLs in nuget package [.Net Core RC3 *.csproj file]
body: <p>I have a solution with two projects in it. First project is called Library1, which references project two called Referencelibrary. I am trying to embed the DLLs for ReferenceLibrary inside Library1's nuget package so that I don't have to publish 2 separate nuget packages. I've been able to embed ReferenceLibrary's DLL into the nuget package (so it seems) by adding the entries below into my csproj file:</p>
  
  <pre><code>  &lt;ItemGroup&gt;
      &lt;ProjectReference Include="..\ReferenceLibrary\ReferenceLibrary.csproj"&gt;
          &lt;ReferenceOutputAssembly&gt;true&lt;/ReferenceOutputAssembly&gt;
          &lt;IncludeAssets&gt;ReferenceLibrary.dll&lt;/IncludeAssets&gt;
          &lt;IncludeAssets&gt;ReferenceLibrary.pdp&lt;/IncludeAssets&gt;
      &lt;/ProjectReference&gt;
    &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>But when I import the nuget package and try to run my test app, I get the following exception: </p>
  
  <p><a href="https://i.stack.imgur.com/YfotP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YfotP.png" alt="Exception Screenshot"></a>
  I assumed that the DLLs had been embedded because prior to adding the "IncludeAssets" to the csproj, I wasn't able to import the nuget package because it was trying to reference the ReferenceLibrary nuget package. But after adding those entries, it allowed me to import it. But now it bombs at run-time. Any help would be greatly appreciated. Thanks!</p>
  
  <p>;)</p>