title: How to update version of Microsoft.NETCore.App SDK in VS 2017
body: <p>I have ASP.NET Core API project which was initially developed using  VS 2015. I installed VS 2017 and let it convert the project.<br />
  Then i goto Project Properties -&gt; Application -&gt;Target framework and change the target framework to .NETCoreApp 1.1.</p>
  <p>as soon as i do that i get 2 errors</p>
  <blockquote>
  <p>Error     One or more projects are incompatible with
  .NETCoreApp,Version=v1.0.</p>
  <p>Error     Project Api is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project Api supports: netcoreapp1.1
  (.NETCoreApp,Version=v1.1)</p>
  </blockquote>
  <p>when i checked  <code>Dependencies -&gt; SDK -&gt; Microsoft.NETCore.App -&gt; Properties</code> it shows version <code>1.0.4</code> and <code>SDK Root</code> to <code>C:\Users\username\.nuget\packages\microsoft.netcore.app\1.0.4</code></p>
  <p>I have already installed <code>Microsoft.NETCore.App</code> SDK version <code>1.1.2</code> on my machine.</p>
  <p>When i goto Nuget Package Manager to update SDK version, it shows its <code>Autoreferenced</code> and update button is disabled.</p>
  <p>How do i update project's SDK's version to <code>1.1.2</code>?</p>
  <p>Also why VS studio reference SDK from <code>C:\Users\username\.nuget\packages\microsoft.netcore.app</code> instead of from <code>C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.1.2</code></p>
  <p><strong>Update 1</strong></p>
  <p>Actually <code>1.1.2</code> is not SDK version. <a href="https://www.microsoft.com/net/download/core" rel="noreferrer">As of 7/20/2017</a> the latest SDK version is <code>1.0.4</code> and Runtime version is <code>1.1.2</code> On my machine I have <code>C:\Program Files\dotnet\sdk\1.0.4</code> SDK and <code>C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.1.2</code> runtime installed.</p>
  <p>So as i mentioned erlier, when i open converted project in VS 2017, I see Dependencies -&gt; SDK -&gt;Microsoft.NETCore.App - Properties version is <code>1.0.4</code> and SDK Root is <code>C:\Users\username\.nuget\packages\microsoft.netcore.app\1.0.4</code></p>
  <p>Now I added new project in the same solution, however new project's Dependencies -&gt; SDK -&gt;Microsoft.NETCore.App -&gt; Properties version is 1.1.2 and SDK root <code>C:\Users\username\.nuget\packages\microsoft.netcore.app\1.1.2</code></p>
  <p>I am not sure which is  correct here, the SDK version of the converted project or SDK version of the newly added project?</p>
  <p>Infact if create a brand new project in VS 2017 i see its Dependencies -&gt; SDK -&gt;Microsoft.NETCore.App -&gt; Properties version is 1.1.2</p>
  <p><code>1.1.2</code> SDK not even SDK available. Why VS 2017 shows runtime version as SDK version</p>
  <p>is this a bug in VS 2017?</p>