I had .NET SDK 8 installed in an Ubuntu Azure VM and it was building my project just fine every hour/few hours or so until earlier today,
Suddenly stopped being able to do so, stating You must install or update .NET to run this application.
and No frameworks were found.
No reboots or known changes happened in the VM (the builds are part of an automated process that doesn't restart automatically after VM restart) and no changes happened in the code either.
Is this somehow expected?
To Reproduce Exceptions (if any)~$ dotnet publish src/Lynx.Cli/Lynx.Cli.csproj -c Release --runtime linux-x64 --self-contained /p:Optimized=true /p:DeterministicBuild=true /p:ExecutableName=lynx-E8A394A1 -o ./ You must install or update .NET to run this application. App: /usr/share/dotnet/sdk/8.0.200/dotnet.dll Architecture: x64 Framework: 'Microsoft.NETCore.App', version '8.0.2' (x64) .NET location: /usr/share/dotnet/ No frameworks were found. 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=linux-x64&os=ubuntu.22.04
I don't think it matters, but the repo being built was lynx-chess/Lynx.
Further technical detailsSystem: Linux 6.2.0-1018-azure
~$ dotnet --info You must install or update .NET to run this application. App: /usr/share/dotnet/sdk/8.0.100/dotnet.dll Architecture: x64 Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64) .NET location: /usr/share/dotnet/ No frameworks were found. 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.0&arch=x64&rid=linux-x64&os=ubuntu.22.04 Host: Version: 8.0.0 Architecture: x64 Commit: 5535e31a71 RID: linux-x64 .NET SDKs installed: 8.0.100 [/usr/share/dotnet/sdk] .NET runtimes installed: No runtimes were found. Other architectures found: None Environment variables: Not set global.json file: Not found Learn more: https://aka.ms/dotnet/info Download .NET: https://aka.ms/dotnet/download
mirecad, adrian-badulescu, soma-kurisu, ArtemDintecom, samcarswell and 2 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4