title: Migrate from ASP.NET Core 2.0 to 2.1
body: <p>I'd like to migrate from <code>ASP.NET Core 2.0</code> to 2.1.
  But I get this error, when I build the project.</p>
  
  <blockquote>
    <p>'Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.0' has a package type
    'DotnetCliTool' that is not supported by project 'Jahan.Beta.Web.App'.</p>
  </blockquote>
  
  <p>How can I solve it?</p>
  
  <p><strong>csproj file:</strong></p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
  
    &lt;PropertyGroup Label="Globals"&gt;
      &lt;SccProjectName&gt;&lt;/SccProjectName&gt;
      &lt;SccProvider&gt;&lt;/SccProvider&gt;
      &lt;SccAuxPath&gt;&lt;/SccAuxPath&gt;
      &lt;SccLocalPath&gt;&lt;/SccLocalPath&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp2.1&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Compile Remove="Pages\**" /&gt;
      &lt;Content Remove="Pages\**" /&gt;
      &lt;EmbeddedResource Remove="Pages\**" /&gt;
      &lt;None Remove="Pages\**" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;None Remove=".bowerrc" /&gt;
      &lt;None Remove="Styles\theme.less" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Content Include="Styles\theme.less"&gt;
        &lt;CopyToPublishDirectory&gt;PreserveNewest&lt;/CopyToPublishDirectory&gt;
      &lt;/Content&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Folder Include="Areas\Admin\Data\" /&gt;
      &lt;Folder Include="Content\css\" /&gt;
      &lt;Folder Include="wwwroot\css\Admin\" /&gt;
      &lt;Folder Include="wwwroot\images\" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.App" /&gt;
      &lt;PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.0" PrivateAssets="All" /&gt;
      &lt;PackageReference Include="FontAwesome" Version="4.7.0" /&gt;
      &lt;PackageReference Include="jQuery.Validation" Version="1.16.0" /&gt;
      &lt;PackageReference Include="Npm" Version="3.5.2" /&gt;
      &lt;PackageReference Include="System.Linq.Dynamic.Core" Version="1.0.6.8" /&gt;
      &lt;PackageReference Include="Twitter.Bootstrap" Version="3.0.1.1" /&gt;
   &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;None Include="wwwroot\css\blog-post.css" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\css\bootstrap-grid.css.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\css\bootstrap-grid.min.css.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\css\bootstrap-reboot.css.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\css\bootstrap-reboot.min.css.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\css\bootstrap.css.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\css\bootstrap.min.css.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.bundle.js" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.bundle.js.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.bundle.min.js" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.bundle.min.js.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.js" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.js.map" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.min.js" /&gt;
      &lt;None Include="wwwroot\lib\bootstrap\dist\js\bootstrap.min.js.map" /&gt;
    &lt;/ItemGroup&gt;
  
    &lt;ItemGroup&gt;
      &lt;Content Update="appsettings.json"&gt;
        &lt;CopyToOutputDirectory&gt;Never&lt;/CopyToOutputDirectory&gt;
      &lt;/Content&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>