title: Force project references to be included in netstandard nuget package
body: <p>I have a netstandard project which includes two project references.  Visual studio 2017 is being used to build the nukpg.  When the project is built the produced nupkg only contains the assembly produced by that project and lists the two project references as nuget dependencies.  Is there a way to force the packaging to include those assemblies as lib files?</p>
  
  <p><strong>csproj</strong></p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;net462&lt;/TargetFramework&gt;
      &lt;RootNamespace&gt;Verifier.Observations.DevOps.Health&lt;/RootNamespace&gt;
      &lt;GeneratePackageOnBuild&gt;true&lt;/GeneratePackageOnBuild&gt;
      &lt;VersionPrefix&gt;1.0.1&lt;/VersionPrefix&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;ProjectReference Include="..\Verifier.Observations.Aspects\Verifier.Observations.Aspects.csproj" /&gt;
      &lt;ProjectReference Include="..\Verifier.Observations\Verifier.Observations.csproj" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Reference Include="System.ComponentModel.Composition"/&gt;
      &lt;Reference Include="System.Net.Http" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/0ZD0N.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0ZD0N.png" alt="enter image description here"></a></p>
  
  <p><strong>Update</strong>
  Based upon feedback from @alexgiondea-msft the package is now created as desired using the following</p>
  
  <p><strong>csproj</strong></p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
    &lt;PropertyGroup&gt;
      &lt;VersionPrefix&gt;1.0.1&lt;/VersionPrefix&gt;
      &lt;TargetFramework&gt;net462&lt;/TargetFramework&gt;
      &lt;GeneratePackageOnBuild&gt;true&lt;/GeneratePackageOnBuild&gt;
      &lt;NuspecFile&gt;Verifier.Observations.DevOps.Health.Nuspec&lt;/NuspecFile&gt;
     &lt;NuspecProperties&gt;version=$(VersionPrefix);id=$(MSBuildProjectName);author=$(Authors);copy=$(Copyright);iconUrl=$(PackageIconUrl)&lt;/NuspecProperties&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemGroup&gt;
      &lt;ProjectReference Include="..\Verifier.Observations.Aspects\Verifier.Observations.Aspects.csproj" /&gt;
      &lt;ProjectReference Include="..\Verifier.Observations\Verifier.Observations.csproj" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Reference Include="System.ComponentModel.Composition" /&gt;
      &lt;Reference Include="System.Net.Http" /&gt;
    &lt;/ItemGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p><strong>nuspec</strong></p>
  
  <pre><code>&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;iconUrl&gt;$iconUrl$&lt;/iconUrl&gt;
      &lt;requireLicenseAcceptance&gt;false&lt;/requireLicenseAcceptance&gt;
      &lt;description&gt;Inspect automation service to ensure it is up and operational&lt;/description&gt;
      &lt;releaseNotes&gt;&lt;/releaseNotes&gt;
      &lt;copyright&gt;$copy$&lt;/copyright&gt;
      &lt;tags&gt;verifier-observation-plugin automation&lt;/tags&gt;
      &lt;dependencies&gt;
        &lt;group targetFramework="net462" /&gt;
      &lt;/dependencies&gt;
      &lt;references&gt;
        &lt;group targetFramework="net462"&gt;
          &lt;reference file="Verifier.Observations.DevOps.Automation.dll" /&gt;
        &lt;/group&gt;
      &lt;/references&gt;
    &lt;/metadata&gt;
    &lt;files&gt;
      &lt;file src="bin\*\net462\*.dll" target="lib\net462" /&gt;
      &lt;file src="bin\*\net462\*.pdb" target="lib\net462" /&gt;
    &lt;/files&gt;
  &lt;/package&gt;
  </code></pre>