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

[Dotnet] Fix failing test "install_dotnet_lts" #1000

Open
samruddhikhandale opened this issue Jun 13, 2024 · 1 comment
Open

[Dotnet] Fix failing test "install_dotnet_lts" #1000

samruddhikhandale opened this issue Jun 13, 2024 · 1 comment
Assignees

Comments

@samruddhikhandale
Copy link
Member

          @gauravsaini04 Can you prioritize and help fix https://github.com/devcontainers/features/actions/runs/9490744002/job/26193280306?pr=997#step:4:2676 tests? Thanks!

Originally posted by @samruddhikhandale in #997 (comment)

@prathameshzarkar9
Copy link
Contributor

prathameshzarkar9 commented Jun 16, 2024

Hi @samruddhikhandale ,

from resources it is found that , as of now, there is no .NET 8.0.302 designated as an LTS version. The latest LTS version is .NET 6.0. If .NET 8.0 were to become LTS in the future, it would be reflected in the URL: https://dotnetcli.azureedge.net/dotnet/Sdk/**LTS**/latest.version
whereas , $channel = "LTS"
output : 8.0.301

However, at present, there is no LTS version 8.0.302 available to retrieve the latest version of the dotnet.

I found one fix to pass the test case install_dotnet_lts as below.
when I changed the $channel = 8.0 , it is correctly retrieving the latest version of dotnet 8.0.302
the url will be: https://dotnetcli.azureedge.net/dotnet/Sdk/**8.0**/latest.version

PR is created here: #1003

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

2 participants