VS Code was not detected on your system.

Well, clearly something is not right here. :)

How exactly does it try to "detect" VS Code?

I have now installed the Extension Pack from inside VS Code which worked without any issues.

Parents
  • I too was wondering why VS code wasn't detected by the Tool Chain Manager, even when I had specified that VS Code be added to the path.
    It turns out that if your windows PATH environment variable is already quite long, then, when it adds the VS Code directory to the PATH, that can take it over the limit of 260 characters, and then the Tool Chain Manager will fail to 'detect' VS code.
    The solution in my case was to manually prune any obsolete directory entries from the PATH, then the Tool Chain Manager successfully detects and launches VS Code.
    (My thanks to AndreKR for identifying that it was path related issue in the first place)

Reply
  • I too was wondering why VS code wasn't detected by the Tool Chain Manager, even when I had specified that VS Code be added to the path.
    It turns out that if your windows PATH environment variable is already quite long, then, when it adds the VS Code directory to the PATH, that can take it over the limit of 260 characters, and then the Tool Chain Manager will fail to 'detect' VS code.
    The solution in my case was to manually prune any obsolete directory entries from the PATH, then the Tool Chain Manager successfully detects and launches VS Code.
    (My thanks to AndreKR for identifying that it was path related issue in the first place)

Children
  • Thanks   Trimming the system PATH environment variable worked for  me as well. (to be precise I moved the string "C:\Program Files\Microsoft VS Code\bin;" towards the start of the PATH - possibly creating problems for other programs further down now) I did however have a path length of about 1200 characters and it still works.  So the number of 260 char I cannot confirm.

    Note that it may be of significance weather vs code is installed in system or user mode. I have installed in system mode and this PATH is much longer than the user PATH. What a mess this is!

Related