Skip to content

Instantly share code, notes, and snippets.

@ArthurHNL
Created October 28, 2019 13:35
Show Gist options
  • Save ArthurHNL/80230904e869946acf4bfe1d3ebaf222 to your computer and use it in GitHub Desktop.
Save ArthurHNL/80230904e869946acf4bfe1d3ebaf222 to your computer and use it in GitHub Desktop.
A few lines of powershell code that enters the Visual Studio Developer PowerShell.
$vsPath = &(Join-Path ${env:ProgramFiles(x86)} "\Microsoft Visual Studio\Installer\vswhere.exe") -property installationpath
Import-Module (Join-Path $vsPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment