Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luxu-ms opened this issue Apr 1, 2024 · 0 comments
Open

Comments

@luxu-ms
Copy link

luxu-ms commented Apr 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant