microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.73k stars 29.09k forks source link

Command '.NET Install tool: install the .NET SDK System-Wide resulted in an error #221781

Open clarking opened 3 months ago

clarking commented 3 months ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Open vscode in linux
  2. hit ctrl+p
  3. paste this command: ext install ms-vscode.cpptools and hit enter
  4. Following error should appear: Command '.NET Install tool: install the .NET SDK System-Wide resulted in an error 'cannot read properties of undefined (reading 'version')

bug

vscodenpa commented 3 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!