microsoft/PowerToys

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

Open

#39.114 aperta il 27 apr 2025

Vedi su GitHub
 (14 commenti) (0 reazioni) (0 assegnatari)C# (7978 fork)batch import
Help WantedIssue-BugProduct-Command Palette

Metriche repository

Star
 (133.154 star)
Metriche merge PR
 (Merge medio 14g 20h) (117 PR mergiate in 30 g)

Descrizione

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

Guida contributor