EF Core tools version update 2.1.1 : <p>If I run <code>dotnet ef add testmigration</code></p>

<p>I get this warning: <code>The EF Core tools version '2.1.0-rtm-30799' is older than that of the runtime '2.1.1-rtm-30846'. Update the tools for the latest features and bug fixes.</code></p>

<p>So I checked my csproj file:</p>

<pre><code>&lt;ItemGroup&gt;
    &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.1.1" /&gt;
    &lt;PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.1" /&gt;
    &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.1" /&gt;
    &lt;PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" /&gt;
&lt;/ItemGroup&gt;
</code></pre>

<p>Which looks correct to me, version 2.1.1.
So I checked the docs, <a href="https://docs.microsoft.com/en-us/ef/core/get-started/install/" rel="noreferrer">here</a></p>

<p>And they suggest the tools entry in the csproj needs to have this package:</p>

<pre><code>&lt;ItemGroup&gt;
    &lt;DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.1.1" /&gt;
&lt;/ItemGroup&gt;
</code></pre>

<p>Now a <code>dotnet restore</code> complains that:</p>

<p><code>warning : The tool 'Microsoft.EntityFrameworkCore.Tools.DotNet' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box).</code></p>

<p>And <code>dotnet ef --version</code> still lists the old one.</p>

<p>So the next thing I do is remove the entry in the <code>csproj</code> altogether, now <code>dotnet ef</code> still works, but still gives me the old version.</p>

<p>So I figured I somehow must update the dotnet global tools for EF. But a 'dotnet tools list -g' gives me no results.</p>

<p>All very confusing.</p>

<p>Where does the old version come from, how do I get rid of it/update it?</p>
