Having problems getting our .net 7 apps to run on a new Windows 2022 server. Installing exactly what MS says here does NOT solve the issue. I know people have asked this a million times, and I know I’ve gotten it to work on servers a dozen times over the years but damnit, every time we get this message, do the download and install and it does NOT solve the problem.
Any ideas?
C:dimensionauth_service> .auth_service.exe
You must install or update .NET to run this application.
App: C:dimensionauth_serviceauth_service.exe
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '7.0.0' (x64)
.NET location: C:Program Filesdotnet
The following frameworks were found:
8.0.7 at [C:Program FilesdotnetsharedMicrosoft.AspNetCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10
Here is the dialog of me installing it successfully:
And here is it not showing in the SDK list, yet re-installing claims it is already there!
4