Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

On a Mac I have Net Core installed:

.NET SDKs installed:
  5.0.100 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

I am able to run Net Core 5.0 projects but when I try to run a NET Core 3.1 project I get:

It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.

Do I need to install SKD 3.1 to?

like image 674
Miguel Moura Avatar asked Dec 11 '20 12:12

Miguel Moura


People also ask

How do I remove dotnet from my Mac?

You can search for core or . net to filter and show installed versions of . NET. Select any versions you want to remove from your computer and click Uninstall.


1 Answers

Yes you need to install ASP.NET Core 3.1 SDK.

like image 148
Gambi Avatar answered Oct 16 '22 19:10

Gambi