The specified framework 'microsoft.aspnetcore.app', version '3.0.0' was not found.

Dung Do Tien Nov 11 2020 97

After pull source code from git to the local computer. I build & run but I got an error It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found.

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.10 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
      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.5 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.

I using window 10, the project using asp.net core 3.0.

Thank you for any suggestions.

Have 1 answer(s) found.
  • This issue throws because your computer is not installing Asp.net core runtime 3.0. You can do as below.

    - Step 1: Open Visual Studio Installer on your computer.

     

    The specified framework 'microsoft.aspnetcore.app', version '3.0.0' was not found.

     

    - Step 2: Click Modify option to reinstall VS2019.

     

    The specified framework 'microsoft.aspnetcore.app', version '3.0.0' was not found.

     

    - Step 3: Select Individual Components tab, checked to checkbox .Net Core 3.0 Runtime(EOL) option.

     

    The specified framework 'microsoft.aspnetcore.app', version '3.0.0' was not found.

     

    And finally, click the Modify button.

    Restart visual and run your application. It'll fix issues for you.

    Note: If you error in the server you can install As.net core runtime 3.0.

    Marry Christ Nov 11 2020
Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips