EF core error
im getthing this error
$ dotnet ef database update
You must install or update .NET to run this application.
App: C:\Users\muham.dotnet\tools\dotnet-ef.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.2' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
8.0.1 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.2&arch=x64&rid=win-x64&os=win10
what should i do how can i install or upgrade 8.1 to 8.2
result of dotnet list sdks
8.0.101 [C:\Program Files\dotnet\sdk]
Troubleshoot app launch failures - .NET
Learn about common reasons for app launch failures and possible solutions.
Microsoft
Download .NET 8.0 Runtime
The .NET 8.0 Runtime includes everything you need to run existing .NET and ASP.NET Core applications.
4 Replies
what do you mean what should you do
the link is right there in the message
To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.2&arch=x64&rid=win-x64&os=win10
https://dotnet.microsoft.com/en-us/download/dotnet/8.0/runtime?cid=getdotnetcore&os=windows&arch=x64
this link
Microsoft
Download .NET 8.0 Runtime
The .NET 8.0 Runtime includes everything you need to run existing .NET and ASP.NET Core applications.
.. i already have sdk install
ed
wait runtime diff?
your list of installed SDKs does not include the SDK it's looking for
it's saying that at minimum you need the correct version of the runtime, if you install the correct version of the SDK it will include that