title: Installing a netstandard2.0 Nuget Package inside a different netstandard2.0 library NU1202
body: <p>I'm currently struggling with something that seems like it's simple, but I can't track down anyone with a similar issue.</p>
  <p>I'm converting some libraries to netStandard and one depends on another.  We'll call them A and B.</p>
  <p>A is compiling fine as a netStandard2.0 library, built with the 3.1 SDK according to dotnet --version in the directory.  The nupkg is built in the Release folder and I move it to a local package source to test on my box.</p>
  <p>B is a netStandard2.0 class library as well.  It requires A, but navigating to my nupkg for A inside of NuGet Package Manager for B and clicking install generates a curious error.</p>
  <p>NU1202 A is not compatible with netStandard2.0, Package A supports: netcoreapp2.1</p>
  <p>A is a netStandard library.
  B is a netStandard library.</p>
  <p>When I look at the A.csproj file in the  tag I'm seeing:</p>
  <pre><code>&lt;Project Sdk=&quot;Microsoft.NET.Sdk&quot;&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netstandard2.0&lt;/TargetFramework&gt;
      &lt;GeneratePackageOnBuild&gt;true&lt;/GeneratePackageOnBuild&gt;
      &lt;Description&gt;The initial .net standard 2.0 offering of A&lt;/Description&gt;
    &lt;/PropertyGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  <p>So it seems to be targeting for a netStandard2.0 (which includes netFramework 4.6.1 to netCore 2.2?)</p>
  <p>Am I missing something simple?</p>
  <p>After googling around with nu1202 and netStandard2.0 - which mostly came up with a scenario of A being a library and B being an application, not a B being a library like my situation - I present:</p>
  <p><strong>Things I've Tried Based on Dissimilar Problems</strong></p>
  <ol>
  <li>Confirm the dotnet --version of each of the A / B projects, both at 3.1.402</li>
  <li>Confirmed my Nuget Package Mangaer version is fairly recent / up to date: 5.7.0</li>
  <li>Attempted to use the Package Manager Console to the exact same result.</li>
  <li>Cleaned and Rebuilt / Packed the A.csproj</li>
  <li>Tried including the A.nuspec file in the Package Source folder with A.nupkg</li>
  <li>Pulled the A.csproj manually into the project to confirm it could be added as a Project Reference which worked, but isn't how I want to solve this problem.</li>
  </ol>
  <p>I've maybe tried more but at this point, maybe the question I should be asking is:  Is it possible to reference netStandard libraries inside of other netStandard libraries?</p>
  <p>What am I missing?</p>