title: Microsoft.AspNetCore.Mvc.ViewFeatures version mismatch (asks for 3.0.0, but the latest version is 2.2.0)
body: <p>I get this error when I'm building my ASP.NET Core MVC application:</p>
  
  <blockquote>
    <p>Error CS0012  The type 'Controller' is defined in an assembly that is
    not referenced. You must add a reference to assembly
    'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=3.0.0.0,
    Culture=neutral, PublicKeyToken=adb9793829ddae60'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/cTlgx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cTlgx.png" alt="enter image description here"></a></p>
  
  <p>And when I go to NuGet site, I see that the latest version of <code>Microsoft.AspNetCore.Mvc.ViewFeatures</code> is <code>2.2.0</code>.</p>
  
  <p>What should I do?</p>