Skip to content

Preflight: prepare your machine

Untimed preparation
Complete this page before starting the 90-minute workshop.

By the end of preflight, you’ll have the repository cloned, the Copilot CLI authenticated, the starter project built, and Playwright MCP downloaded and ready.

RequirementWhy the workshop needs itVerify
.NET 10 SDKBuilds and runs the C# console applicationdotnet --version
Node.js 22 or newerRuns the Playwright MCP servernode --version
GitHub Copilot CLIProvides the Copilot runtime used by the SDKcopilot --version
Visual Studio CodeOpens and edits the SDK lab foldercode --version
GitHub Copilot accessAuthorizes Copilot requestscopilot login
Microsoft Edge (default) or Google ChromeLets Playwright inspect the target pageOpen the browser once before the workshop

Your commands should return output in this shape:

$ dotnet --version
10.0.x
$ node --version
v22.x.x
$ copilot --version
GitHub Copilot CLI ...

Clone the dedicated SDK workshop repository and open it in Visual Studio Code:

Terminal window
git clone https://github.com/jamesmontemagno/workshop-accessibility-agent.git
cd workshop-accessibility-agent
code .

If code is not on your path, use your editor’s Open Folder command and select workshop-accessibility-agent instead.

Install the CLI with the method from the official setup guide, then run:

Terminal window
copilot login

The repository recognizes common WinGet and Homebrew installs. If dotnet build cannot find the Copilot CLI, set its path for the current terminal:

$env:COPILOT_CLI_BINARY_PATH = (Get-Command copilot).Source

Run this once to download the pinned package and print its options without starting a server:

Terminal window
npx -y @playwright/mcp@0.0.78 --help

The package version is pinned so everyone sees the same tool names and behavior. The code uses Microsoft Edge with --browser=msedge. If you prepared Google Chrome instead, use --browser=chrome when the argument appears in Step 4.

Copy-Item -Recurse start/HelloCopilotSDK workshop-app
dotnet build workshop-app

A successful build ends with:

Build succeeded.
0 Warning(s)
0 Error(s)

Open the controlled target page once to make sure you can reach it:

https://jamesmontemagno.github.io/workshop-accessibility-agent/target-app/
Troubleshooting preflight
SymptomFix
copilot is not recognizedRestart the terminal after installation, or set COPILOT_CLI_BINARY_PATH with the command above.
Copilot asks you to authenticateRun copilot login, finish the browser flow, then retry.
NuGet restore cannot reach the package sourceCheck proxy or package-source settings, then run dotnet restore workshop-app.
npx is not recognizedInstall Node.js 22 or newer and restart the terminal.
The browser cannot start laterInstall Edge or Chrome, or follow the Playwright MCP browser configuration.

Start Step 1 when: dotnet build workshop-app succeeds, copilot login is complete, and the target page opens.

Continue to Step 1: Create your first Copilot session.

Reset all workshop progress?

This clears completed lessons and checked task items stored in this browser. This action cannot be undone.