The framework 'Microsoft.AspNetCore.App', version '3.1.3' was not found

Prakash picture Prakash · May 8, 2020 · Viewed 17k times · Source

After upgrading targetFramework for my web app from dotnet-core-2.2 to dotnet-core-3.1.2 on another developer machine we are getting following error

It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.3' 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&framework_version=3.1.3&arch=x64&rid=win10-x64

We have tried several approaches to solve the issue

still we are facing the same issue, please guide me to troubleshoot this issue.

Answer

RobIII picture RobIII · Jul 29, 2020

I solved the problem by installing the Hosting bundle from here.