Skip to content

Commit

Permalink
Ensure correct execution of basic commands (#939)
Browse files Browse the repository at this point in the history
This ensure that dev can run `dotnet build` or `dotnet test` without problems because, for some unknown reason, if you use these comands first without running `dotnet restore` it will generate errors that are just solved with `dotnet clean`

Co-authored-by: Shargon <[email protected]>
  • Loading branch information
vncoelho and shargon authored Feb 22, 2024
1 parent 1ece19b commit 31cbc59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "C# (.NET)",
"image": "mcr.microsoft.com/devcontainers/dotnet:1-7.0-jammy",
"onCreateCommand": "./scripts/load_submodule.sh",
"postCreateCommand": "dotnet restore && dotnet build",
"customizations": {
"vscode": {
"extensions": [
Expand Down

0 comments on commit 31cbc59

Please sign in to comment.