Version incompatibility 'Microsoft.AspNetCore.App'

Asked

Viewed 616 times

1

Good afternoon, I’m starting my studies with. NET Core for a project and had to change computer, while restoring the project I am having the following problem:

It was not possible to find any compatible framework version The specified framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found. - The following frameworks Were found: 3.0.0 at [C: Program Files dotnet Shared Microsoft.AspNetCore.App]

You can resolve the problem by Installing the specified framework and/or SDK.

I know that to solve or update the application or downgrade what was installed, as I am studying, I find it interesting to see the two scenarios, so I ask, how can I upgrade the files or the dowgrade of what is installed. I’m using Visual Studio Code to work.

  • The . net core can run different versions side by side. Then you can install the . net core 2.2 and maintain the 3.0 without any major problems. To not have to update the application you can install version 2.2.

1 answer

1


The . NET Core framework allows different versions to be installed and run on the same machine. This is known as "side-by-side installations".

To know all versions installed on your machine you can use the following command at your command prompt:

dotnet --list-sdks

And to know which version is in use:

dotnet --version

You can download any version of . NET Core’s SDK on your official page

Browser other questions tagged

You are not signed in. Login or sign up in order to post.