title: The framework 'Microsoft.AspNetCore.App', version '6.0.0' (x64) was not found
body: <p>I've recently upgraded from .net5 to .net6 and in my services (not using aspnet), I am getting this error when it tries to start up.</p>
  <pre><code>It was not possible to find any compatible framework version
  The framework 'Microsoft.AspNetCore.App', version '6.0.0' (x64) was not found.
    - No frameworks were found.
  You can resolve the problem by installing the specified framework and/or SDK.
  The specified framework can be found at:
    - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&amp;framework_version=6.0.0&amp;arch=x64&amp;rid=debian.11-x64
  </code></pre>
  <p>This is being deployed using docker and the image is built to use the runtime:6.0 like this:</p>
  <pre><code>FROM mcr.microsoft.com/dotnet/runtime:6.0 AS service
  WORKDIR /app
  COPY --from=build-env /app/out/service .
  ENTRYPOINT [&quot;dotnet&quot;, &quot;MyService.dll&quot;]
  </code></pre>
  <p>Why is the <code>runtime:6.0</code> image having trouble?</p>
  <p>Edit:
  I've updated my image to use the <code>aspnet:6.0</code> image instead to run the service. This fixes it but I'm not sure what is requiring the aspnet image vs the regular runtime image.</p>