Closed AdamMiltonBarker closed 2 years ago
@AdamMiltonBarker Hi, Could you run setvars in PS directly, without our extension? something in the form of .\setvars.bat
The problem that you are facing is quite difficult to debug, as there can be many reasons. In short, the exec function could not run setvars. The most likely reasons are: a problem with execution rights, PowerShell or something like that. Our experiment with manual launch will allow us to narrow down the range of possible defects.
I didn't remember posting here :) Yes that works and I can run that command with VS terminal also.
@AdamMiltonBarker okay, copy that. It is most likely that you have PowerShell version 5.1 (or so) , which is not detected by our extension. This is definitely our problem and it will be fixed soon, but you can install a newer version of PowerShell to make everything work right now: https://github.com/PowerShell/PowerShell/releases/tag/v7.1.3
Hi the path is now found after the update (See bottom right of screen shot) but I still get an error.
@AdamMiltonBarker Okay, then there may be a problem with access rights. Try running VSCode as an Administrator. I think this will solve the problem.
@sbobko thank you I will do later tonight and will let you know.
Nope sorry that isn't it either I have a new error now :(
OK hang on, after that I tried again and it worked. It looks the permissions is the issue. No output in terminal though, should there be ? I can't access any of my network drives now through code when running as admin.
Unfortunately, I do not know what the problem is with network drives, since it is not related to the extension. While there are no reports of insufficient permissions, however, I expect that we will add it in the near future or solve the problem differently. Thank you for your assistance in the search :).
No problem was just letting you know to resolve the issue it means I cannot use VS code in the usual way. Hope the issue helped.
Adding reference to internal bug report > DEV1A-3312.
@AdamMiltonBarker The issue has been fixed. Please reopen if necessary
Posted in forum also https://community.intel.com/t5/Intel-oneAPI-Base-Toolkit/VSCode-environment-configurator-fails/m-p/1297614#M1625
Not a question just letting you know the environment configurator for VSCode does not work. Fresh install of basekit on Windows 10, command prompt works fine, when trying to start the environment in vscode it pops up with Error 1, then after that window is closed it pops up as if it has worked but it hasn't.