Skip to content

Commit cd5e090

Browse files
feat(internal): add dev container
1 parent d7fe315 commit cd5e090

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
3+
{
4+
"name": "C# (.NET)",
5+
"image": "mcr.microsoft.com/devcontainers/dotnet:1-9.0-noble",
6+
"postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension",
7+
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
8+
}

.vscode/extensions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"recommendations": [
3+
"ms-dotnettools.csharp",
4+
"editorconfig.editorconfig",
5+
"github.vscode-github-actions",
6+
"ms-dotnettools.vscode-dotnet-runtime",
7+
"ms-dotnettools.csdevkit"
8+
],
9+
"unwantedRecommendations": []
10+
}

0 commit comments

Comments
 (0)