title: How do I install ASP.NET Core 2.0 on MacOS?
body: <p>I'm trying to run an ASP.NET Core 2.0 app on a Mac, but it doesn't build for the following reason:</p>
  
  <pre><code>Package Microsoft.AspNetCore.All 2.1.5 is not compatible with netcoreapp2.0 (.NETCoreApp,Version=v2.0). Package Microsoft.AspNetCore.All 2.1.5 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1)
  </code></pre>
  
  <p>I have installed Visual Studio for Mac (Community) v. 7.6.8. When I run <code>dotnet --info</code> I get:</p>
  
  <pre><code>.NET Core SDK (reflecting any global.json):
   Version:   2.1.302
   Commit:    9048955601
  
  Runtime Environment:
   OS Name:     Mac OS X
   OS Version:  10.13
   OS Platform: Darwin
   RID:         osx.10.13-x64
   Base Path:   /usr/local/share/dotnet/sdk/2.1.302/
  
  Host (useful for support):
    Version: 2.1.2
    Commit:  811c3ce6c0
  
  .NET Core SDKs installed:
    2.0.0 [/usr/local/share/dotnet/sdk]
    2.1.4 [/usr/local/share/dotnet/sdk]
    2.1.301 [/usr/local/share/dotnet/sdk]
    2.1.302 [/usr/local/share/dotnet/sdk]
  
  .NET Core runtimes installed:
    Microsoft.AspNetCore.All 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
    Microsoft.AspNetCore.All 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
    Microsoft.AspNetCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
    Microsoft.AspNetCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
    Microsoft.NETCore.App 1.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
    Microsoft.NETCore.App 2.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
    Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
    Microsoft.NETCore.App 2.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
    Microsoft.NETCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
    Microsoft.NETCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  </code></pre>
  
  <p>I see that I don't have the Microsoft.AspNetCore.All 2.0.* runtime, but I don't know how to install it. I've downloaded the binaries from here: <a href="https://www.microsoft.com/net/download/dotnet-core/2.0" rel="nofollow noreferrer">https://www.microsoft.com/net/download/dotnet-core/2.0</a>, but there are no instructions on what to do with the files.</p>
  
  <p>The app I'm trying to build/run is here: <a href="https://github.com/Apress/pro-asp.net-core-mvc-2" rel="nofollow noreferrer">https://github.com/Apress/pro-asp.net-core-mvc-2</a> (folder "08 - SportsStore/SportsStore").</p>