Hi
I have just upgraded one of our APIs from .NET 6 to .NET 8.
Everything runs, everything looks good, but I had a few issues to start with.
Now, to verify a few things, I used Kudu to confirm the .NET version was correct.
When using SSH and running dotnet --list-runtime-versions I see the expected
root@03d47a33f421:~/site/wwwroot# dotnet --list-runtimes
Microsoft.AspNetCore.App 8.0.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
When using Bash and running the same dotnet --list-runtime-versions I see .NET 6
root@03d47a33f421:~/site/wwwroot# dotnet --list-runtimes
Microsoft.AspNetCore.App 8.0.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
So the question...
Which runtime version am I actually using?
Is my API successfully upgraded and running .NET 8?
Kind regards
Rich