Adding .NET to the devcontainer#88
Conversation
There was a problem hiding this comment.
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": {} |
There was a problem hiding this comment.
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.
@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.
@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.
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.