I am trying to complete the workshop from link below:
https://microsoftlearning.github.io/mslearn-azure-developer/instructions/azure-functions/01-functions-create-vscode-http.html
I followed every instruction except step 3, in Select a .NET runtime , instead of selecting ".NET 8.0 Isolated" I selected ".NET 8.0 Isolated (LTS)" because the option in the training was not available (I assume they are the same as 9.0 is the latest version and 8.0 is now under long term support).
When running F5 to debug in terminal, I received an VS Code error pop up "Error Processing launch options at field: processid".
In terminal, I see message below:
Found D:\azure-function\azure-function.csproj. Using for user secrets file configuration.
Language Worker Process exited. Pid=XXXXX.
C:\Program Files\dotnet\dotnet.exe exited with code -2147450730 (0x80008096). https://aka.ms/dotnet/app-launch-failed.
Exceeded language worker restart retry count for runtime:dotnet-isolated. Shutting down and proactively recycling the Functions Host to recover
Starting worker process failed
Microsoft.Azure.WebJobs.Script.Grpc: The operation has timed out.
Failed to start language worker process for runtime: dotnet-isolated. workerId:XXXXXX
You must install or update .NET to run this application.
App: D:\azure-function\bin\Debug\net8.0\azure-function.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.17' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
6.0.22 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
7.0.11 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
9.0.6 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.17&arch=x64&rid=win-x64&os=win10
You must install or update .NET to run this application.
I already tried the aka.ms url to download and ran the installer but still getting the same error, any help is appreciated.