You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After each SDK update on ubuntu i cannot run .NET 7 solutions #1433
I have ubuntu 20.04 and installed .NET SDK 7 and 8. Both from official MS package repository.
But after each update of the dotnet i cannot run any solution that is based on .NET 7
You must install or update .NET to run this application.
App: /path/to/my/solution
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: /usr/share/dotnet
The following frameworks were found:
8.0.3 at [/usr/share/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=7.0.0&arch=x64&rid=linux-x64&os=ubuntu.22.04
Only fix is remove dotnet completely and install it again. Its so annoying.
We have the same issue occurring with .NET 8. We have an Ubuntu 22.04 image we use for build pipelines that installs the latest dotnet 8 SDK when it's built (eg. 8.0.103). If another is released (eg. 8.0.203, the pipeline will intermittently complain that we need to update the dotnet SDK:
You must install or update .NET to run this application.
App: /usr/lib/dotnet/sdk/8.0.103/dotnet.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.3' (x64)
.NET location: /usr/lib/dotnet/
The following frameworks were found:
8.0.2 at [/usr/lib/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.3&arch=x64&rid=ubuntu.22.04-x64&os=ubuntu.22.04
Reacted by Mac Xu, SPuV, s0nlx and Daniel Abrahamsson
Activity
mcgiany commentedon Apr 6, 2024
The problem is probably that
dotnet --list-runtimesshows only .NET 8 runtimes even though i have also installed .net 7 runtimes.lextm commentedon Apr 6, 2024
.NET 7 end of life is May 14, so even if this is a reproducible issue no one is going to fix it now, https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
Please stick to .NET 8.
samcarswell commentedon Apr 9, 2024
We have the same issue occurring with .NET 8. We have an Ubuntu 22.04 image we use for build pipelines that installs the latest dotnet 8 SDK when it's built (eg.
8.0.103). If another is released (eg.8.0.203, the pipeline will intermittently complain that we need to update the dotnet SDK: