Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

customization task "install-vs-extension" cannot install GitHub Copilot

Đang mở
#73 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell

Hướng nghiên cứu

Bắt đầu với tác vụ tùy chỉnh "install-vs-extension" và truy vết nơi VSIX được tải xuống và truyền cho VSIXInstaller.exe khi chạy dưới vai trò hệ thống. Xác minh hành vi trên base image Visual Studio 2022 Windows 11 đã nêu; được coi là hoàn tất khi GitHub Copilot được cài đặt thành công thay vì bị để lại trong thư mục tạm thời của profile hệ thống.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug
The dev box customization task "install-vs-extension" cannot work well

To Reproduce
Steps to reproduce the behavior:

  1. Use the base image "Visual Studio 2022 Enterprise on Windows 11 Enterprise + Microsoft 365 Apps 23H2"
  2. Create the dev box using the base image in step 1 and upload the yaml file as below:
image
  1. 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()
image

Ngôn ngữ chính
PowerShell
Star
52
Fork
194
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/devcenter-catalog

Tất cả issue của microsoft/devcenter-catalog

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.