Skip to content

Commit 8040226

Browse files
committed
Ubuntu EOL changes and additional info about dotnet 10.0-preview version.
1 parent 3f8fec7 commit 8040226

6 files changed

Lines changed: 14 additions & 25 deletions

src/dotnet/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ This Feature installs the latest .NET SDK, which includes the .NET CLI and the s
2121
| aspNetCoreRuntimeVersions | Enter additional ASP.NET Core runtime versions, separated by commas. Use 'latest' for the latest version, 'lts' for the latest LTS version, 'X.Y' or 'X.Y.Z' for a specific version. | string | - |
2222
| workloads | Enter additional .NET SDK workloads, separated by commas. Use 'dotnet workload search' to learn what workloads are available to install. | string | - |
2323

24+
The dotnet '10.0' version provided as option is only the dotnet '10.0-preview' version. The dotnet '10.0' stable version is expected to be released by end of 2025. The preview version is still under development and is generally not supported for production use.
25+
2426
## Customizations
2527

2628
### VS Code Extensions

src/dotnet/devcontainer-feature.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"latest",
1212
"lts",
1313
"none",
14+
// This below dotnet 10 is the dotnet 10.0-preview version. Please check the readme file for more details.
1415
"10.0",
1516
"8.0",
1617
"7.0",

test/dotnet/install_dotnet_multiple_versions.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,9 @@ is_dotnet_sdk_version_installed "8.0"
2222
check ".NET SDK 7.0 installed" \
2323
is_dotnet_sdk_version_installed "7.0"
2424

25-
check ".NET SDK 6.0 installed" \
26-
is_dotnet_sdk_version_installed "6.0"
27-
2825
check ".NET SDK 10.0 installed" \
2926
is_dotnet_sdk_version_installed "10.0"
3027

31-
check ".NET Core SDK 3.1 installed" \
32-
is_dotnet_sdk_version_installed "3.1"
33-
3428
check "Build example class library" \
3529
dotnet build projects/multitargeting
3630

@@ -43,15 +37,9 @@ dotnet run --project projects/net8.0
4337
check "Build and run .NET 7.0 project" \
4438
dotnet run --project projects/net7.0
4539

46-
check "Build and run .NET 6.0 project" \
47-
dotnet run --project projects/net6.0
48-
4940
check "Build and run .NET 10.0 project" \
5041
dotnet run --project projects/net10.0
5142

52-
check "Build and run .NET Core 3.1 project" \
53-
dotnet run --project projects/netcoreapp3.1
54-
5543
# Report results
5644
# If any of the checks above exited with a non-zero exit code, the test will fail.
5745
reportResults

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 "3.1")
16+
expected=$(fetch_latest_version_in_channel "8.0")
1717

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

2121
check "Build and run example project" \
22-
dotnet run --project projects/netcoreapp3.1
22+
dotnet run --project projects/net8.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/install_dotnet_specific_release_and_feature_band.sh

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

16-
check ".NET SDK 5.0.3xx installed" \
17-
is_dotnet_sdk_version_installed "5.0.3"
16+
check ".NET SDK 8.0.3xx installed" \
17+
is_dotnet_sdk_version_installed "8.0.3"
1818

1919
check "Build and run example project" \
20-
dotnet run --project projects/net5.0
20+
dotnet run --project projects/net8.0
2121

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

test/dotnet/scenarios.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
}
1010
},
1111
"install_dotnet_specific_release": {
12-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
12+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
1313
"remoteUser": "vscode",
1414
"features": {
1515
"dotnet": {
16-
"version": "3.1"
16+
"version": "8.0"
1717
}
1818
}
1919
},
2020
"install_dotnet_specific_release_and_feature_band": {
21-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
21+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
2222
"remoteUser": "vscode",
2323
"features": {
2424
"dotnet": {
25-
"version": "5.0.3xx"
25+
"version": "8.0.3xx"
2626
}
2727
}
2828
},
@@ -44,9 +44,7 @@
4444
"additionalVersions": [
4545
"9.0",
4646
"8.0",
47-
"7.0",
48-
"6.0",
49-
"3.1"
47+
"7.0"
5048
]
5149
}
5250
}

0 commit comments

Comments
 (0)