Skip to content

Bump bundled winapp CLI to v0.8.0 - #378

Merged
Chiara Mooney (chiaramooney) merged 1 commit into
mainfrom
chiaramooney-bump-winapp-cli-v0-8-0
Nov 11, 2026
Merged

Chiara Mooney (chiaramooney) merged 1 commit into
mainfrom
chiaramooney-bump-winapp-cli-v0-8-0

Conversation

@chiaramooney

Copy link
Copy Markdown
Collaborator

Description

Bundles the stable winapp CLI v0.8.0 instead of v0.7.1 by updating cli-version.json.

v0.8.0 adds C++ .vcxproj support to winapp run and winapp package (microsoft/winappCli#984). The run CLI contract test caught this: the CLI now documents .vcxproj as a run input, but the extension classified it as unknown, so a launch.json input pointing at a .vcxproj (or a folder containing one) would lose project-mode options or be rejected as "contains no project or .exe files". The extension now accepts .vcxproj when it is named explicitly and leaves the build to the CLI.

Workspace discovery, the Browse filters, solution-member parsing and pack project selection stay .NET-only. The runnability heuristic reads OutputType, which C++ projects don't declare, so adding .vcxproj to discovery would hide every C++ project as a library. Full native discovery is left for a follow-up. The "no supported solution" warnings no longer say the bundled CLI can't build native solutions; the run warning now suggests browsing to the solution as an alternative.

Usage Example

{
  "type": "winapp",
  "request": "launch",
  "name": "WinApp: Launch C++ app",
  "input": "${workspaceFolder}/App/App.vcxproj",
  "configuration": "Debug",
  "debuggerType": "cppvsdbg"
}

Illustrative example: with v0.7.1 this input wasn't classified as a project. With this change it runs in project mode, so winapp run builds the .vcxproj before launching.

Type of Change

  • ✨ New feature
  • 🔧 Config/build
  • 🧪 Test update

Checklist

  • New tests added for new functionality (if applicable)
  • Tested locally on Windows (if applicable)
  • README.md updated (if applicable)
  • package.json contribution points / command/debugger/custom-editor docs updated (if extension surface changed)

Screenshots / Demo

N/A. No visual changes; only the wording of two warning messages changed.

Additional Notes

Validation (local, Windows):

  • .\scripts\download-cli.ps1: passed. Downloaded and extracted v0.8.0; both bin\win-x64\winapp.exe and bin\win-arm64\winapp.exe report 0.8.0.
  • npm run sync-schemas: passed. 20 XSD files synced using v0.8.0's winapp restore.
  • npm run test:unit: passed, 1698/1698. This includes run-cli-contract and pack-cli-contract against the real v0.8.0 binary. Before the classifier change, classifies every input kind the CLI documents failed on .vcxproj.
  • npm run compile-tsc: passed.
  • npm run lint: passed (0 errors, 10 pre-existing warnings in unrelated files).
  • npx playwright test --project=vscode src/test/e2e/run-target-picker.spec.ts: 19 passed, 1 flaky, 2 failed on the first full run, all from VS Code launch timeouts. Re-running the four library and native-solution tests gave 4 passed.
  • .\scripts\build-vsce.ps1 -Package was not run.

Nothing else in the repo pins the CLI version: the release pipeline and build-vsce.ps1 read cli-version.json.

AI Description

This section is auto-generated by AI when the PR is opened or updated. To opt out, delete this entire section including the marker comments.

Accept C++ .vcxproj run inputs, which winapp 0.8.0 builds in project mode, so the run CLI contract test passes. Workspace discovery and pack stay .NET-only for now.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@chiaramooney Chiara Mooney (chiaramooney) added the agent-preparing Agent work in progress (feedback, validation, or CI) label Nov 11, 2026
@github-actions

Copy link
Copy Markdown

VSIX Build

Artifact Baseline Current Delta
VS Code Extension (VSIX) 67.91 MB 72.44 MB 📈 +4.52 MB (+6.66%)

Updated 2026-11-11 02:29:54 UTC · commit ca3dbc4 · workflow run

@chiaramooney Chiara Mooney (chiaramooney) added ready-for-review Agent work and checks complete; awaiting human review and removed agent-preparing Agent work in progress (feedback, validation, or CI) labels Nov 11, 2026
@chiaramooney
Chiara Mooney (chiaramooney) merged commit 7d43e3a into main Nov 11, 2026
7 checks passed
@chiaramooney
Chiara Mooney (chiaramooney) deleted the chiaramooney-bump-winapp-cli-v0-8-0 branch November 11, 2026 19:06
Chiara Mooney (chiaramooney) added a commit that referenced this pull request Nov 13, 2026
Main now has winapp v0.8.0 C++ project support (#378), so the branch's own .vcxproj run changes are dropped in favor of main's.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent work and checks complete; awaiting human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant