Created
January 17, 2026 02:23
-
-
Save yuiAs/9cd093c25b3fc2c75353fb9a28587115 to your computer and use it in GitHub Desktop.
Visual Studio Developer PowerShell on VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Developer PowerShell for VS 2022": { | |
| "source": "PowerShell", | |
| "args": [ | |
| "-NoExit", | |
| "-NoLogo", | |
| "-Command", | |
| "&{$vsInstance = Get-VSSetupInstance | Select-VSSetupInstance -Version '[17.0,18.0)';Import-Module (Join-Path $vsInstance.InstallationPath 'Common7/Tools/Microsoft.VisualStudio.DevShell.dll');Enter-VsDevShell $vsInstance.InstanceId -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -host_arch=x64'}" | |
| ], | |
| }, | |
| "Developer PowerShell for VS18": { | |
| "source": "PowerShell", | |
| "args": [ | |
| "-NoExit", | |
| "-NoLogo", | |
| "-Command", | |
| "&{$vsInstance = Get-VSSetupInstance | Select-VSSetupInstance -Version '[18.0,19.0)';Import-Module (Join-Path $vsInstance.InstallationPath 'Common7/Tools/Microsoft.VisualStudio.DevShell.dll');Enter-VsDevShell $vsInstance.InstanceId -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -host_arch=x64'}" | |
| ], | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment