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

Extension is not compatible with Code 1.56. Extension requires ^1.59. Wrong code.exe used. #26

Closed
ashrauma opened this issue Aug 25, 2021 · 2 comments · Fixed by #32
Closed
Labels
question Further information is requested

Comments

@ashrauma
Copy link

I have multiple versions of VSCode installed locally and the script seems to pick the one in the PATH which is great but I'd like to configure it to provide my own path to VS code.exe of specific version.

@CodeWithSwastik
Copy link
Owner

Could you clarify on what you mean by this? Do you mean the vscode-engine?

@CodeWithSwastik CodeWithSwastik added the question Further information is requested label Aug 26, 2021
@ashrauma
Copy link
Author

May be it's a bug in VSCode installer.

Steps to reproduce:

  1. Install VSCode version 1.59.*
  2. Start Cmd.exe
  3. code --version
    1.59.*
  4. Now install VSCode version 1.56.* (without uninstalling previous version)
  5. Start cmd.exe
  6. code --version
    1.59.*

Even though I am using 1.56.* for development of my extension. It somehow uses 1.59.* when I Start Debugging. And then I get this error in VSCode at the bottom right.

Extension is not compatible with Code 1.56.. Extension requires ^1.59.

@ashrauma ashrauma changed the title Wrong code.exe used Extension is not compatible with Code 1.56.. Extension requires ^1.59. Wrong code.exe used. Sep 1, 2021
@ashrauma ashrauma changed the title Extension is not compatible with Code 1.56.. Extension requires ^1.59. Wrong code.exe used. Extension is not compatible with Code 1.56. Extension requires ^1.59. Wrong code.exe used. Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants