title: netcoreapp2.0 with netstandard2.0
body: <p>I have a project(x) that targets the NetStandard.Library 2.0 and a console app that targets netcoreapp2.0.</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp2.0&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;PropertyGroup&gt;
      &lt;PackageTargetFallback&gt;$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;&lt;/PackageTargetFallback&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.1" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.0" /&gt;
      &lt;PackageReference Include="NETStandard.Library" Version="2.0.0-beta-25021-01" /&gt;
      &lt;PackageReference Update="Microsoft.NETCore.App" Version="2.0.0-beta-001588-00" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.0-msbuild3-final" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;ProjectReference Include="..\x.csproj" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>Project X:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk"&gt;
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netstandard2.0&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" /&gt;
    &lt;/ItemGroup&gt;
  
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Update="NETStandard.Library" Version="2.0.0-beta-25017-01" /&gt;
    &lt;/ItemGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p>When I compile the console application I get the Error: </p>
  
  <p>Project x is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0) / win-x86. Project x supports: netstandard2.0 (.NETStandard,Version=v2.0)</p>
  
  <p>I have installed: Microsoft net core 2.0.0 runtime located here: <a href="https://github.com/dotnet/core-setup" rel="noreferrer">https://github.com/dotnet/core-setup</a> but it still doesnt build. </p>
  
  <p>*edited following advice from below:
  I have installed the Alpha SDK located here: <a href="https://github.com/dotnet/cli/tree/master#installers-and-binaries" rel="noreferrer">https://github.com/dotnet/cli/tree/master#installers-and-binaries</a> and I still get the same error.</p>
  
  <p><a href="https://i.stack.imgur.com/Tryee.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Tryee.png" alt="enter image description here"></a></p>
  
  <p>The interesting thing is that there is a nuget package reference for Microsoft.NETCore.App which I cannot remove: 
  <a href="https://i.stack.imgur.com/EBvA1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/EBvA1.png" alt="enter image description here"></a></p>