-
Notifications
You must be signed in to change notification settings - Fork 431
Adding .NET to the devcontainer #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds .NET support to the development container by adding the dotnet feature to the devcontainer configuration.
Changes:
- Added the dotnet feature from the official devcontainers features repository to enable .NET development capabilities
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.devcontainer/devcontainer.json
Outdated
| "ghcr.io/devcontainers-extra/features/uv:1": {}, | ||
| "ghcr.io/schlich/devcontainer-features/just:0": {} | ||
| "ghcr.io/schlich/devcontainer-features/just:0": {}, | ||
| "ghcr.io/devcontainers/features/dotnet": {} |
Copilot
AI
Jan 22, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dotnet feature specification is missing a version number. All other features in this configuration explicitly specify versions (e.g., ":1", ":0"). For consistency and to ensure predictable behavior, this should include a version specification. Consider using "ghcr.io/devcontainers/features/dotnet:1" to match the pattern used by other features from the same source.
| "ghcr.io/devcontainers/features/dotnet": {} | |
| "ghcr.io/devcontainers/features/dotnet:1": {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aaronpowell Can you comment on this? Is the :1 here the version of https://github.com/devcontainers/features/pkgs/container/features%2Fdotnet or something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SteveSandersonMS I believe this should be
"ghcr.io/devcontainers/features/dotnet:2.4.2": {}
per the link you shared
friggeri
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you pin the version of the feature, as Copilot is recommending?
Done. Used a major release rather than a very specific one, to be consistent with other features. |
No description provided.