Skip to content

Commit

Permalink
fix: Use correct JSON node to install C# Dev Kit extension
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmeisterAn committed Sep 21, 2024
1 parent 340a93a commit 1cc56ea
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,22 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true
},
"ghcr.io/devcontainers/features/dotnet:2.0.5": {
"version": "8.0.200",
"ghcr.io/devcontainers/features/dotnet:2.1.3": {
"version": "8.0",
"installUsingApt": false
}
},
"customizations": {
"extensions": [
"ms-azuretools.vscode-docker",
"ms-dotnettools.csdevkit"
],
"settings": {
"omnisharp.path": "latest" // https://github.com/OmniSharp/omnisharp-vscode/issues/5410#issuecomment-1284531542.
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"ms-dotnettools.csdevkit"
],
"settings": {
"dotnet.defaultSolution": "${containerWorkspaceFolder}/Testcontainers.sln"
}
}
},
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && git lfs checkout",
"postStartCommand": ["dotnet", "build"]
"postStartCommand": ["dotnet", "build", "${containerWorkspaceFolder}/Testcontainers.sln", "/consoleLoggerParameters:NoSummary", "/property:GenerateFullPaths=true", "/property:Configuration=Debug", "/property:Platform=Any CPU"]
}

0 comments on commit 1cc56ea

Please sign in to comment.