Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

cppvsdbg does not support MSIX app execution aliases

未關閉
#14,216 3 則留言 10 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
cpp, vscode

研究方向

首先,使用 cppvsdbg 和 MSIX 應用程式執行別名(例如 winget.exe)重現 launch.json 設定,並比較 F5 與 CTRL+F5。閱讀偵錯工具啟動路徑和 MSIX 應用程式執行別名的行為;當 F5 能在正確的套件內容中啟動並偵錯該別名,且不出現「Not implemented」錯誤時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

debugger Feature Request Works in VS
Environment
  • OS and version: Windows 11 25H2
  • VS Code: 1.109.5
  • C/C++ extension: 1.30.5
  • OS and version of remote machine (if applicable): n/a
  • GDB / LLDB version: n/a
Bug Summary and Steps to Reproduce

Steps to Reproduce:

  1. Set up a launch.json to launch something with an MSIX execution alias using cppvsdbg debugger. A common one that many people have is installed is WinGet:
{
  "version": "2.0.0",
  "configurations": [
    {
      "name": "WinGet",
      "type": "cppvsdbg",
      "request": "launch",
      "program": "winget.exe",
      "args": [],
      "console": "externalTerminal"
    }
  ]
}
  1. Press F5. Notice you get an error "Unable to start program 'C:\Users\username\AppData\Local\Microsoft\WindowsApps\winget.exe'. Not implemented.". But if you press CTRL+F5 it executes it fine in the correct package context.
Debugger Configurations
Launch.json:

{
  "version": "2.0.0",
  "configurations": [
    {
      "name": "WinGet",
      "type": "cppvsdbg",
      "request": "launch",
      "program": "winget.exe",
      "args": [],
      "console": "externalTerminal"
    }
  ]
}
Debugger Logs
Unable to start debugging. Unable to start program 'C:\Users\...\AppData\Local\Microsoft\WindowsApps\MrBackgroundHost.exe'. Not implemented.
Other Extensions

No response

Additional Information

For some background:

  • MSIX app execution aliases are defined here: https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap5-appexecutionalias. They allow a packaged executable to be executed from command-line.
  • App execution aliases are the only way we've found we can launch our product in its appropriate MSIX package context from VS/VSCode, which is how customers will run our executable too.
  • Visual Studio does not have this problem and can launch/debug things through an app execution alias just fine (I do this with an NMake-style vcxproj).
主要語言
TypeScript
星號
6.2k
分支
1.7k
平均合併
1 天 22 小時
30 天內合併 PR
32

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoft/vscode-cpptools 的其他 Issue

查看 microsoft/vscode-cpptools 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。