Set up GitHub Codespaces dev environment for .NET 10 Blazor + PostgreSQL#186
Draft
Set up GitHub Codespaces dev environment for .NET 10 Blazor + PostgreSQL#186
Conversation
…nch, and tasks config Agent-Logs-Url: https://github.com/VidetteMakes/MESS/sessions/8cc9d9a6-cc53-494e-a0b9-1f82d4c09b5e Co-authored-by: adamj537 <11276599+adamj537@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Set up GitHub Codespaces development environment
Set up GitHub Codespaces dev environment for .NET 10 Blazor + PostgreSQL
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
.devcontainer/devcontainer.jsonwas not valid JSON and contained broken variable interpolation, making Codespaces non-functional. No.vscode/launch.jsonortasks.jsonexisted, so F5 debugging was not possible.Changes
.devcontainer/devcontainer.jsonworkspaceFolder→/workspaces/MESSpostCreateCommand→bash .devcontainer/init-db.sh(correct relative path from workspace root)dotnet.defaultSolution→MESS/MESS.slnx.devcontainer/init-db.shcd "${WORKSPACE_DIR}/MESS"at startup so existing relative paths (MESS.slnx,MESS.Data/,MESS.Blazor/) resolve correctly when invoked from/workspaces/MESS.vscode/launch.json(new)coreclrlaunch config targetingMESS.Blazor/bin/Debug/net10.0/MESS.Blazor.dllcwdset to${workspaceFolder}/MESSserverReadyActionauto-opens browser on forwarded port when app startspreLaunchTask: "build"chains into tasks.vscode/tasks.json(new)restore:dotnet restore ${workspaceFolder}/MESS/MESS.slnxbuild:dotnet build ... --no-restore, depends onrestore, set as default build task