title: Unable to resolve Microsoft.EntityFrameworkCore.Tools
body: <p>My ASP.NET Core project is about a year old and uses EF Core with Postgres. I ran a <code>dotnet migrate</code> which converted my old <code>project.json</code> to a new <code>csproj</code>. And now the project no longer compiles. Specifically, when I run a <code>dotnet restore</code> I get the following error:</p>
  
  <pre><code>Unable to resolve 'Microsoft.EntityFrameworkCore.Tools (&gt;= 1.0.0)' for '.NETCoreApp,Version=v1.0'.
  </code></pre>
  
  <p>Here is what my <code>csproj</code> currently looks like:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp1.0&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Folder Include="wwwroot\" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.1" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.0.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.0" /&gt;
      &lt;PackageReference Include="Npgsql" Version="3.2.1" /&gt;
      &lt;PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="1.1.0" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.1.0-preview4-final" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>How can I resolve this dependency issue and get back on track? (Ideally, I want to future-proof as much as possible)</p>