Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// 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:8.0",
"features": {
"ghcr.io/devcontainers/features/dotnet:1": {}
},

// 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": "",

//This will build the Solution initially so that all dependencies are restored.
//If it fails analyssis needs to be done
//This is optional, can be disabled if it makes problems
"postStartCommand": "dotnet build /p:EnableWindowsTargeting=true"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ On linux, the operation is similar:
cd $wesay/build
./TestBuild.sh

On Github-Codespace you can use the following to compile:

dotnet build /p:EnableWindowsTargeting=true

These scripts perform a Debug build, placing the result in `$wesay/output/Debug`.
#### TODO (Hasso) 2022.04: update scripts and instructions so this works:
> If you prefer a Release build, then add `Release`
Expand Down