microsoft/PowerToys

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

Open

#39,114 创建于 2025年4月27日

在 GitHub 查看
 (14 评论) (0 反应) (0 负责人)C# (7,978 fork)batch import
Help WantedIssue-BugProduct-Command Palette

仓库指标

Star
 (133,154 star)
PR 合并指标
 (平均合并 14天 20小时) (30 天内合并 117 个 PR)

描述

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

贡献者指南