title: Errors upgrading .NET Core app to 1.1
body: <p>So, I have a happily working ASP.NET Core 1.0 app targeting net461 framework.</p>
  
  <p>Today I tried to upgrade it to the new ASP.NET Core 1.1 (according to the instructions <a href="https://blogs.msdn.microsoft.com/webdev/2016/11/16/announcing-asp-net-core-1-1/" rel="nofollow noreferrer">on this page</a> all you need to do is a Nuget package upgrade)</p>
  
  <p>This resulted in the following slew of errors:</p>
  
  <pre><code>error: Unable to resolve 'Microsoft.AspNetCore.Diagnostics.Abstractions (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.AspNetCore.Hosting.Abstractions (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.AspNetCore.Http.Extensions (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.AspNetCore.WebUtilities (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.Extensions.FileProviders.Physical (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.Extensions.Logging.Abstractions (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.Extensions.Options (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'System.Diagnostics.DiagnosticSource (&gt;= 4.3.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'System.Reflection.Metadata (&gt;= 1.4.1)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.AspNetCore.Mvc.ApiExplorer (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  error: Unable to resolve 'Microsoft.AspNetCore.Mvc.Cors (&gt;= 1.1.0)' for '.NETFramework,Version=v4.6.1'.
  ...
  </code></pre>
  
  <p>what am I missing here? Shouldn't this just work?</p>
  
  <p>For reference, here are the relevant sections of the project.json (before running the Nuget upgrade):</p>
  
  <pre><code>  "dependencies": {
      "Microsoft.AspNetCore.Mvc": "1.0.0",
      "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
      "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
      "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
      "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
      "Microsoft.Extensions.Configuration.Json": "1.0.0",
      "Microsoft.Extensions.Logging": "1.0.0",
      "Microsoft.Extensions.Logging.Console": "1.0.0",
      "Microsoft.Extensions.Logging.Debug": "1.0.0",
      "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
      "Microsoft.AspNetCore.Diagnostics": "1.0.0",
      "Microsoft.AspNetCore.StaticFiles": "1.0.0",
      "Microsoft.AspNet.WebApi.Client": "5.2.3"
    },
  
    "tools": {
      "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
    },
  
    "frameworks": {
      "net461": {
         "imports": [
        ]
      }
    }
  </code></pre>
  
  <p>EDIT: after running the Nuget upgrade, the dependencies section was changed to this by Visual Studio:</p>
  
  <pre><code>  "dependencies": {
      "Microsoft.AspNet.WebApi.Client": "5.2.3",
      "Microsoft.AspNetCore.Diagnostics": "1.1.0",
      "Microsoft.AspNetCore.Mvc": "1.1.0",
      "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
      "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
      "Microsoft.AspNetCore.StaticFiles": "1.1.0",
      "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
      "Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
      "Microsoft.Extensions.Configuration.Json": "1.1.0",
      "Microsoft.Extensions.Logging": "1.1.0",
      "Microsoft.Extensions.Logging.Console": "1.1.0",
      "Microsoft.Extensions.Logging.Debug": "1.1.0",
      "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0"
    },
  </code></pre>