title: Hosting Asp.Net Core 3.0 in Azure: HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
body: <p>I am trying to host an ASP.NET Core 3.0 API in Azure:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp3.0&lt;/TargetFramework&gt;
    &lt;/PropertyGroup&gt;
  
    &lt;PropertyGroup&gt;
      &lt;IsPackable&gt;false&lt;/IsPackable&gt;
      &lt;NeutralLanguage&gt;en-US&lt;/NeutralLanguage&gt;
      &lt;LangVersion&gt;latest&lt;/LangVersion&gt;   
    &lt;/PropertyGroup&gt;  
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="3.*" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.*" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.*" /&gt;
      &lt;PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="3.*" /&gt;
    &lt;/ItemGroup&gt;       
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>But when I run de application I get:</p>
  
  <pre><code>HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
  
  Common solutions to this issue:
  The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found.
  Specific error detected by ANCM:
  It was not possible to find any compatible framework version The specified framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found. - The following frameworks were found: 2.1.12 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] 2.1.13 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] 2.2.6 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] 2.2.7 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] You can resolve the problem by installing the specified framework and/or SDK. The .NET Core frameworks can be found at: - https://aka.ms/dotnet-download
  </code></pre>
  
  <p>What am I missing?</p>