Skip to content

Commit e9cfd3f

Browse files
authored
[dotnet] - Removing dotnet 10 preview and daily versions. (#1537)
1 parent b0188f0 commit e9cfd3f

3 files changed

Lines changed: 5 additions & 31 deletions

File tree

src/dotnet/devcontainer-feature.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "dotnet",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"name": "Dotnet CLI",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/dotnet",
66
"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 @@
1212
"lts",
1313
"none",
1414
"10.0",
15-
"10.0-preview",
16-
"10.0-daily",
1715
"9.0",
1816
"8.0",
1917
"7.0",

test/dotnet/install_dotnet_specific_release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ source dev-container-features-test-lib
1313
source dotnet_env.sh
1414
source dotnet_helpers.sh
1515

16-
expected=$(fetch_latest_version_in_channel "8.0")
16+
expected=$(fetch_latest_version_in_channel "10.0")
1717

18-
check ".NET Core SDK 8.0 installed" \
18+
check ".NET Core SDK 10.0 installed" \
1919
is_dotnet_sdk_version_installed "$expected"
2020

2121
check "Build and run example project" \
22-
dotnet run --project projects/net8.0
22+
dotnet run --project projects/net10.0
2323

2424
# Report results
2525
# If any of the checks above exited with a non-zero exit code, the test will fail.

test/dotnet/scenarios.json

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"remoteUser": "vscode",
1414
"features": {
1515
"dotnet": {
16-
"version": "8.0"
16+
"version": "10.0"
1717
}
1818
}
1919
},
@@ -49,30 +49,6 @@
4949
}
5050
}
5151
},
52-
"install_dotnet_preview": {
53-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
54-
"remoteUser": "vscode",
55-
"features": {
56-
"dotnet": {
57-
"version": "10.0-preview",
58-
"additionalVersions": "10.0.1xx-preview",
59-
"aspnetcoreRuntimeVersions": "10.0-preview",
60-
"dotnetRuntimeVersions": "10.0-preview"
61-
}
62-
}
63-
},
64-
"install_dotnet_daily": {
65-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
66-
"remoteUser": "vscode",
67-
"features": {
68-
"dotnet": {
69-
"version": "10.0-daily",
70-
"additionalVersions": "10.0.1xx-daily",
71-
"aspnetcoreRuntimeVersions": "10.0-daily",
72-
"dotnetRuntimeVersions": "10.0-daily"
73-
}
74-
}
75-
},
7652
"install_dotnet_global_tool": {
7753
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
7854
"remoteUser": "vscode",

0 commit comments

Comments
 (0)