Fix sample projects to work in GitHub Codespaces by installing .NET 9.0 SDK#854
Merged
eiriktsarpalis merged 4 commits intomainfrom Oct 13, 2025
Merged
Conversation
…ility Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix EverythingServer to run in GitHub codespaces
Fix sample projects to work in GitHub Codespaces by updating .NET SDK version
Oct 13, 2025
…9 and 10 Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Copilot
AI
changed the title
Fix sample projects to work in GitHub Codespaces by updating .NET SDK version
Fix sample projects to work in GitHub Codespaces by installing .NET 9.0 SDK
Oct 13, 2025
Member
|
@copilot getting the following error: |
Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com>
Contributor
Author
... Fixed the syntax error by using |
eiriktsarpalis
approved these changes
Oct 13, 2025
Member
eiriktsarpalis
left a comment
There was a problem hiding this comment.
Confirming that the most recent changes addresses the issue.
stephentoub
approved these changes
Oct 13, 2025
This was referenced Oct 20, 2025
This was referenced Oct 22, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Fixed sample projects in GitHub Codespaces by updating the devcontainer configuration to properly install multiple .NET SDK versions:
Changes made:
global.jsonat requiring .NET 10.0 SDK (10.0.100-rc.1).devcontainer/devcontainer.jsonto install both .NET 9.0 and 10.0 SDKs using the correct syntax:version:"10.0"additionalVersions:"9.0"Why this approach is correct:
additionalVersionsproperty allows installing .NET 9.0 alongside the primary 10.0 versionThis fix ensures all target frameworks in the repository (net8.0, net9.0, and net10.0) can be built successfully in GitHub Codespaces.
Original prompt
Fixes #853
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.