Skip to content

Commit 31339f3

Browse files
Fix sample projects to work in GitHub Codespaces by installing .NET 9.0 SDK (#854)
* Initial plan * Update global.json to use .NET 9.0 SDK for GitHub Codespaces compatibility Co-authored-by: eiriktsarpalis <[email protected]> * Revert global.json and update devcontainer.json to install both .NET 9 and 10 Co-authored-by: eiriktsarpalis <[email protected]> * Fix devcontainer.json to use additionalVersions for multiple .NET SDKs Co-authored-by: eiriktsarpalis <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: eiriktsarpalis <[email protected]>
1 parent d22c5f0 commit 31339f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-jammy",
44
"features": {
55
"ghcr.io/devcontainers/features/dotnet:2": {
6-
"version": "10.0"
6+
"version": "10.0",
7+
"additionalVersions": "9.0"
78
},
89
"ghcr.io/devcontainers/features/node:1": {}
910
},

0 commit comments

Comments
 (0)