title: I keep getting HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
body: <p>I recently purchased a 5$ Web Hosting Plan on interserver.net. Today I tried to publish my ASP.NET Core MVC application on the server using the Plesk interface. Then when I try to access my website, I get this error:</p>
  <pre><code>HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
  The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found
  </code></pre>
  <p><a href="https://i.stack.imgur.com/8hhas.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8hhas.png" alt="Complete error screenshot" /></a>
  <br/><br/>
  I have already run the command <code>dotnet --info</code> command and it shows .NET Core SDK 3.1 is installed:</p>
  <p><a href="https://i.stack.imgur.com/2nQ2q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2nQ2q.png" alt="screenshot" /></a></p>
  <p>Do you have any ideas about how to solve this issue?</p>
  <p>This is what I get in the Stdout Log:</p>
  <pre><code>It was not possible to find any compatible framework version
  
  The framework 'Microsoft.NETCore.App', version '3.0.2' was not found.
  
    - The following frameworks were found:
        2.1.13 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
        2.1.17 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
        2.2.7 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
        2.2.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
        3.0.0 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
        3.1.1 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
        3.1.3 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  </code></pre>
  <p>So apparently I have to migrate my application to the .NET Core version indicated above?</p>