Files
SpeckleAutomateDotnetExample/.devcontainer/devcontainer.json
T
Alan Rynne 423e734d09 Update to nuget packages (prerelease!) and project cleanup (#3)
* Added random console.writeline statement

* and again

* try with throw

* feat: Automate example now using nuget

* fix: update yaml automate action version

* fix: Generate schema action step

* fix: Logging in example

* fix: Mark context run as success

* fix: Upgrade of composite automate action

* fix: Use correct env var

* fix: Again... correct file path

* chore: Reorganisation of project

* fix: Lock file update

* fix: No lock - no cache

* fix: cd into project

* fix: cd into path... in docker

* fix: Copy isolated project folder instead of single files

* fix: delete .idea folder

* add .idea to gitignore

* fix: Remove .idea again

* fix: Cleaner kit initialisation

* fix: Kit initialization

* fix: dev-contaienr

* fix: Run restore on creation

* test: Docker build

* feat: Recommended extensions and devcontainer sync

* feat: added dotnet feature
2023-10-19 16:53:51 +02:00

43 lines
1.4 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
{
"name": "C# (.NET)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/dotnet:0-7.0",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5000, 5001],
// "portsAttributes": {
// "5001": {
// "protocol": "https"
// }
// }
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "dotnet restore",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/dotnet:2": {}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"csharpier.csharpier-vscode",
"ms-dotnettools.csharp",
"ms-dotnettools.csdevkit",
"ms-azuretools.vscode-docker"
]
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}