title: The target "ResolveTagHelperRazorGenerateInputs" does not exist in the project
body: <p>I am getting the following error when i try to build an AspNetCore Web Application targeting netcoreapp2.2.</p>
  
  <blockquote>
    <p>Error MSB4057 The target "ResolveTagHelperRazorGenerateInputs" does not exist in the project. C:\Program Files\dotnet\sdk\2.2.103\Sdks\Microsoft.NET.Sdk.Razor\build\netstandard2.0\Sdk.Razor.CurrentVersion.targets</p>
  </blockquote>
  
  <p>I have tried the following:</p>
  
  <ul>
  <li>clear cache on vs according to <a href="https://www.matteopozzani.com/visual-studio-cache-cleanup/" rel="nofollow noreferrer">this post</a></li>
  <li>update vs2017 to 15.9.5</li>
  <li>reinstall net core sdks</li>
  <li>reinstall vs</li>
  </ul>
  
  <p>Nothing helped. I first got the error during an upgrade from core 2.1 to core 2.2 on a different project, and it's possible that by mistake edited the 
  Sdk.Razor.CurrentVersion.targets file. From that moment on, i keep getting this error on any project that targets core 2.2 (even new ones).</p>
  
  <p>Does anyone encountered this problem or have any clues about solving it? </p>
  
  <p>Thanks</p>