microsoft/PowerToys

CmdPal: We need to add a .vsconfig to the template (was: Creating Custom Extension - Unable to debug/launch)

Open

#39.114 aberto em 27 de abr. de 2025

Ver no GitHub
 (14 comments) (0 reactions) (0 assignees)C# (7.978 forks)batch import
Help WantedIssue-BugProduct-Command Palette

Métricas do repositório

Stars
 (133.154 stars)
Métricas de merge de PR
 (Mesclagem média 14d 20h) (117 fundiu PRs em 30d)

Description

Microsoft PowerToys version

0.90.0

Installation method

PowerToys auto-update

Area(s) with issue?

Command Palette

Steps to reproduce

I'm trying to follow documentation from here to create a custom extension.

I have the Visual Studio solution open.

  1. I can build it.
  2. Clicking Deploy Solution under the build menu doesn't seem to do anything
  3. I tried running/debugging the '(unpackaged)' profile and it just builds, starts, then stops.
  4. I tried the same with the '(package)' profile and got:

The project doesn't know how to run the profile with name 'KAT.Command.Palette (Package)' and command 'MsixPackage'.

Am I following the right documentation? I saw the tip about:

Make sure you deploy your app! Just building your application won't update the package in the same way that deploying it will.

But, I guess I'm not tracking complete. Any guidance is appreciated.

UPDATE: Is it possible to develop in VS Code instead of VS Proper for Command Palette extensions? Haven't tried yet, but just curious. First, I just want to get one working.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Additional Information

No response

Other Software

No response

Guia do colaborador