title: How Do You Reference a .NET Standard Library from a .NET Framework 4.5 Console Application in Visual Studio 2017?
body: <p>I have finally installed Visual Studio 2017.2 and am trying to get my first project working, but am running into some trouble that I hope to address here.</p>
  
  <p>I have a very simple .NET Standard Library described as the following project file:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netstandard1.6&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>And a very simple .NET Framework console application that references the above .NET Standard library, and is described as the following project file:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;OutputType&gt;Exe&lt;/OutputType&gt;
      &lt;TargetFramework&gt;net45&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;ProjectReference Include="..\Common\Common.csproj" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>When I build my console application, I get the following build error:</p>
  
  <p><code>C:\Program Files\dotnet\sdk\1.0.4\NuGet.targets(97,5): error : Project Common is not compatible with net45 (.NETFramework,Version=v4.5). Project Common supports: netstandard1.6 (.NETStandard,Version=v1.6)</code></p>
  
  <p>I saw <a href="https://stackoverflow.com/questions/43109292/reference-a-net-standard-1-6-library-from-a-net-4-6-2-library">this question</a> and tried some of the suggestions provided there, but none of them worked.  So, this appears to be a different problem.  Please note that this occurs during the build of my solution and not referencing (explicit) NuGet packages in any way.</p>
  
  <p>Finally, if it helps, I have a solution that demonstrates this issue here:
  <a href="https://github.com/Mike-EEE/Stash/blob/master/VS2017.Multi/VS2017.dotNetFramework.sln" rel="noreferrer">https://github.com/Mike-EEE/Stash/blob/master/VS2017.Multi/VS2017.dotNetFramework.sln</a></p>