Replies: 1 comment 2 replies
-
The automatic COMSPEC setting is now optional and disabled by default in v145 - please see if that helps |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm having a hard time setting up a Visual Studio 2019 Powershell configuration.
My default shortcut created by the ID has the following at the target:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -noe -c "&{Import-Module """C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"""; Enter-VsDevShell 3fa88563}"
When I attempt to setup a shell profile with this:
Command:
powershell.exe
Arguments:
-noe -c "&{Import-Module """C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"""; Enter-VsDevShell 3fa88563}"
I eventually get this error:
I can get it working in a regular cmd.exe window - I'm not getting why it wont work here, would appreciate any help, thanks!
Beta Was this translation helpful? Give feedback.
All reactions