Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/dotnet/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand All @@ -12,8 +12,6 @@
"lts",
"none",
"10.0",
"10.0-preview",
"10.0-daily",
"9.0",
"8.0",
"7.0",
Expand Down
6 changes: 3 additions & 3 deletions test/dotnet/install_dotnet_specific_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
26 changes: 1 addition & 25 deletions test/dotnet/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"remoteUser": "vscode",
"features": {
"dotnet": {
"version": "8.0"
"version": "10.0"
}
}
},
Expand Down Expand Up @@ -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",
Expand Down