Describe the bug
I'm posting here more to ask a question rather than report a bug. We saw .NET code that expected the wrong patch version, when we don't expect the code to care what patch number it was.
This is the below error that triggered this investigation:
Framework: 'Microsoft.NETCore.App', version '6.0.27' (x64)
.NET location: /var/lang/bin/
The following frameworks were found:
6.0.26 at [/var/lang/bin/shared/Microsoft.NETCore.App]
What $VERSION would be used in this line of code? Or how is the runtime.yml code called? Would the value of $VERSION be different from $DOTNET_6_GLOBAL_JSON_SDK_VERSION as is used in this line of code?
I ask because if $VERSION had a patch version specified (e.g. 6.0.27 instead of just 6.0.0) that might result in the issue we hit.
Describe the bug I'm posting here more to ask a question rather than report a bug. We saw .NET code that expected the wrong patch version, when we don't expect the code to care what patch number it was.
This is the below error that triggered this investigation:
What
$VERSION
would be used in this line of code? Or how is the runtime.yml code called? Would the value of$VERSION
be different from$DOTNET_6_GLOBAL_JSON_SDK_VERSION
as is used in this line of code?I ask because if
$VERSION
had a patch version specified (e.g.6.0.27
instead of just6.0.0
) that might result in the issue we hit.