title: The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found
body: <p>I have deployed my app on a production machine. I am publishing Release, win-x64 and --self-contained true.
  I have installed .net core 3.1.7 restarted the VPS and I am getting:</p>
  <blockquote>
  <p>The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.</p>
  </blockquote>
  <p><code>dotnet --info</code> returns:</p>
  <pre><code>  It was not possible to find any installed .NET Core SDKs
    Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
        https://aka.ms/dotnet-download
  
  Host (useful for support):
    Version: 3.1.7
    Commit:  fcfdef8d6b
  
  .NET Core SDKs installed:
    No SDKs were found.
  
  .NET Core runtimes installed:
    Microsoft.AspNetCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
    Microsoft.NETCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  
  To install additional .NET Core runtimes or SDKs:
    https://aka.ms/dotnet-download
  </code></pre>
  <p>my .csproj file is the following</p>
  <pre><code>&lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp3.1&lt;/TargetFramework&gt;
  &lt;PropertyGroup&gt;
  </code></pre>
  <p>Anyone knows why am I getting this error?</p>