Merge pull request #13395 from umbraco/v11/feature/codespaces-prebuild-dotnetbuild

Adds dotnet build command for onCreateCommand to use in Prebuilds of CodeSpaces
This commit is contained in:
Warren Buckley
2022-11-14 14:31:56 +00:00
committed by GitHub

View File

@@ -32,8 +32,11 @@
"ms-dotnettools.csharp"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [9000, 5000, 25]
// Use 'forwardPorts' to make a list of ports inside the container available locallAdd "forwardPorts": [9000, 5000, 25],
// Use OnCreateCommand to run commands after the container is created
// This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done
"onCreateCommand": "dotnet build umbraco.sln",
// [Optional] To reuse of your local HTTPS dev cert:
//