Skip to content

Commit b41c5f4

Browse files
authored
Create devcontainer.json
1 parent a07be8f commit b41c5f4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": ".NET 9 WPF iLearn GUI",
3+
"image": "mcr.microsoft.com/devcontainers/dotnet:9.0-bookworm",
4+
"features": {
5+
"ghcr.io/devcontainers/features/dotnet:1": { "version": "9.0" },
6+
"ghcr.io/devcontainers/features/desktop-lite:1": {}
7+
},
8+
"forwardPorts": [6080],
9+
"portsAttributes": {
10+
"6080": { "label": "Desktop GUI (VNC)" }
11+
},
12+
"runArgs": [
13+
"--cap-add=SYS_PTRACE",
14+
"--security-opt", "seccomp=unconfined"
15+
],
16+
"customizations": {
17+
"vscode": {
18+
"extensions": [
19+
"ms-dotnettools.csharp",
20+
"ms-dotnettools.csdevkit",
21+
"NoesisTechnologies.noesisgui-tools"
22+
]
23+
}
24+
},
25+
"postCreateCommand": "dotnet restore",
26+
"remoteUser": "vscode"
27+
}

0 commit comments

Comments
 (0)