Skip to content

[Feature]: Replace extension runnability heuristics with the CLI project query #299

Open

Description

Is your feature request related to a problem? Please describe.

The extension currently mirrors parts of WinApp CLI project discovery and runnability logic so it can offer useful targets before invoking winapp run. These heuristics can drift as the CLI adds project types or changes how it selects runnable apps inside solutions.

Describe the solution you'd like

Once microsoft/winappCli#957 exposes runnable-project discovery for tooling, introduce one extension interface that queries the bundled CLI for:

  • supported project and solution inputs,
  • runnable projects within a directory or solution,
  • the default project the CLI would choose, and
  • enough metadata to select the appropriate debugger.

Use the response for picker discovery and F5 disambiguation, then remove duplicated project classification where possible. Keep a bounded fallback only for older CLI versions if product requirements still require it.

Additional context

Follow-up from PR #283 review. The upstream feature is still open, so implementing another temporary abstraction before the CLI contract exists would create more code to replace later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions