customization task "install-vs-extension" cannot install GitHub Copilot
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- powershell
调研方向
从自定义任务 "install-vs-extension" 开始,跟踪在系统角色下运行时 VSIX 的下载位置,以及它被传递给 VSIXInstaller.exe 的位置。在所述的 Visual Studio 2022 Windows 11 基础映像上验证该行为;完成的标准是 GitHub Copilot 成功安装,而不是留在系统配置文件的临时目录下。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
The dev box customization task "install-vs-extension" cannot work well
To Reproduce
Steps to reproduce the behavior:
- Use the base image "Visual Studio 2022 Enterprise on Windows 11 Enterprise + Microsoft 365 Apps 23H2"
- Create the dev box using the base image in step 1 and upload the yaml file as below:
- Login to the dev box and open VS
Actual result:
VS extension GitHub Copilot is NOT installed.
Expected behavior
VS extension GitHub Copilot is installed.
Screenshots
Dev Box VM Details (please complete the following information):
- OS version: Visual Studio 2022 Enterprise on Windows 11 Enterprise + Microsoft 365 Apps 23H2
Additional context
This is because when dev box task is triggered, system role is used.
When the user is system role, the vsix file will be downloaded under C:\Windows\System32\config\systemprofile
When VSIXInstaller.exe want to use this vsix file, it cannot find the vsix file. Because the vsix file is under limited directory.
Suggestion: When downloading the vsix file, put it under other normal folder like "C:\temp-vsix" instead of [IO.Path]::GetTempPath()
- 主要语言
- PowerShell
- 星标
- 52
- 派生
- 194
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/devcenter-catalog 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
microsoft/devcenter-catalog#116 ·
-
难度 4/5 3-5 天 新手友好度 45/100
microsoft/devcenter-catalog#114 · 4 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
microsoft/devcenter-catalog#88 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 38/100
microsoft/devcenter-catalog#70 · 1 条评论 ·
查看 microsoft/devcenter-catalog 的全部 Issue
相似的 Issue
-
namespace operations
难度 1/5 1 小时以内 新手友好度 82/100
EclipseFdn/open-vsx.org#13573 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
HenriquesLab/rxiv-maker#335 ·
-
agent-butler-finding bug
难度 2/5 1-3 小时 新手友好度 90/100
jordansmall/spindrift#4143 ·
维护者通常 1 天内回复
-
`TypeError: '<=' not supported between instances of 'NoneType' and 'int'` when checking metaclasses未关闭Needs triage :inbox_tray:
难度 2/5 1-3 小时 新手友好度 78/100
pylint-dev/pylint#11511 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
grikomsn/openai-oauth-copilot-chat#61 ·
维护者通常 1 天内回复