title: NuGet Msbuild Pack with non-SDK project
body: <p>I have an &quot;old style&quot; .NET framework project which includes nuget references and other project references. Now I switched to the PackageReference format (removed the packages.config). I want to create a NuGet package for my project. So I added a reference to the &quot;NuGet.Build.Tasks.Pack&quot; package and used the MSBUILD pack target. In the first place it looked everything as expected, the resulting package contains all my references and the corresponding NuGet references. Now I have the problem, that I use also a project to project reference:</p>
  <pre><code>&lt;ProjectReference Include=&quot;..\Wrapper\MyWrapper\MyWrapper.csproj&quot;&gt;
    &lt;Project&gt;{6b9a7dd0-b93f-3a5e-8fdf-99d0bf811652}&lt;/Project&gt;
    &lt;Name&gt;MyWrapper&lt;/Name&gt;
  &lt;/ProjectReference&gt;
  </code></pre>
  <p>Based on the nuget documentation - for this reference:</p>
  <blockquote>
  <p>Project to project references are considered by default as nuget
  package references</p>
  </blockquote>
  <p>But I want that this project reference is packaged into my package instead of a &quot;nuget package reference&quot;. I found postings that using</p>
  <blockquote>
  <p>PrivateAssets=&quot;all&quot;</p>
  </blockquote>
  <p>for the project reference could fix the problem, but adding this attribute to the project reference node does not change anything. Any help would be great!</p>