diff --git a/src/dotnet/devcontainer-feature.json b/src/dotnet/devcontainer-feature.json index 7d72c8cc0..7389b8398 100644 --- a/src/dotnet/devcontainer-feature.json +++ b/src/dotnet/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "dotnet", - "version": "2.4.1", + "version": "2.4.2", "name": "Dotnet CLI", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet", "description": "This Feature installs the latest .NET SDK, which includes the .NET CLI and the shared runtime. Options are provided to choose a different version or additional versions.", @@ -12,8 +12,6 @@ "lts", "none", "10.0", - "10.0-preview", - "10.0-daily", "9.0", "8.0", "7.0", diff --git a/test/dotnet/install_dotnet_specific_release.sh b/test/dotnet/install_dotnet_specific_release.sh index 0d01bb4da..1ef587945 100644 --- a/test/dotnet/install_dotnet_specific_release.sh +++ b/test/dotnet/install_dotnet_specific_release.sh @@ -13,13 +13,13 @@ source dev-container-features-test-lib source dotnet_env.sh source dotnet_helpers.sh -expected=$(fetch_latest_version_in_channel "8.0") +expected=$(fetch_latest_version_in_channel "10.0") -check ".NET Core SDK 8.0 installed" \ +check ".NET Core SDK 10.0 installed" \ is_dotnet_sdk_version_installed "$expected" check "Build and run example project" \ -dotnet run --project projects/net8.0 +dotnet run --project projects/net10.0 # Report results # If any of the checks above exited with a non-zero exit code, the test will fail. diff --git a/test/dotnet/scenarios.json b/test/dotnet/scenarios.json index d7ae3acbb..62e2f1a46 100644 --- a/test/dotnet/scenarios.json +++ b/test/dotnet/scenarios.json @@ -13,7 +13,7 @@ "remoteUser": "vscode", "features": { "dotnet": { - "version": "8.0" + "version": "10.0" } } }, @@ -49,30 +49,6 @@ } } }, - "install_dotnet_preview": { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", - "remoteUser": "vscode", - "features": { - "dotnet": { - "version": "10.0-preview", - "additionalVersions": "10.0.1xx-preview", - "aspnetcoreRuntimeVersions": "10.0-preview", - "dotnetRuntimeVersions": "10.0-preview" - } - } - }, - "install_dotnet_daily": { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu", - "remoteUser": "vscode", - "features": { - "dotnet": { - "version": "10.0-daily", - "additionalVersions": "10.0.1xx-daily", - "aspnetcoreRuntimeVersions": "10.0-daily", - "dotnetRuntimeVersions": "10.0-daily" - } - } - }, "install_dotnet_global_tool": { "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "remoteUser": "vscode",