Skip to content

VS Code: run a task

Used in C6, requirement 2.

Validated on: 2026-10-31 (documentation). Runtime baseline: GitHub Copilot upgrade extension 1.1.612 on VS Code 1.139.0, recorded in versions.md. If no dashboard opens, ask Copilot to show plan.md and tasks.md, then use the start_task prompt below. Current-version runtime retesting remains the owner’s pre-dry-run task.

A new chat on vm-dev01, VS Code opened on C:\src\<your-repo>, for C6 requirement 2; harness Local, agent Upgrade, and a balanced model for execution. Use the playbook’s Models table as the single source for the picker names. You’re on main with a clean tree (see prerequisites).

Start the task by sending:

Start task <task-id> with start_task. Scope: app/ContosoUniversity and .github/upgrades only; never edit files outside them.

Task IDs are in .github/upgrades/scenarios/dotnet-version-upgrade/tasks.md (for example 01-aspnetcore-net10). Approve builds and file edits as they come up; if the agent stops halfway, reply continue.

  1. Build and dotnet run the app. The agent’s own validation can pass without the app ever starting.
  2. Run that task’s check from the playbook’s Task checks table. It is the single source for the seven checks and their hot spots.
  3. Check you stayed in scope: git status --short -- app .github/upgrades shows only your app and upgrade changes.
  4. Commit and push feat(app): task 0N <name> on main before you start the next task’s chat, as in Save your work in your single clone on main.

Task 01 gives the project a new UserSecretsId. Set your user secrets again afterward. The exact commands are in the playbook’s Local configuration section.

For task-specific checks and hot spots, follow Step 2 of the playbook.

More help: Troubleshoot.