Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about dotnet globaljson version #728

Open
Beau-Gosse-dev opened this issue Jul 1, 2024 · 0 comments
Open

Question about dotnet globaljson version #728

Beau-Gosse-dev opened this issue Jul 1, 2024 · 0 comments

Comments

@Beau-Gosse-dev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant