Skip to content

Instantly share code, notes, and snippets.

@tats-u
Created September 24, 2019 15:17
Show Gist options
  • Save tats-u/cfee0b0dd75035c5761f6d03b05800a9 to your computer and use it in GitHub Desktop.
Save tats-u/cfee0b0dd75035c5761f6d03b05800a9 to your computer and use it in GitHub Desktop.
Enable Visual Studio 2019 CLI Environment (Install https://github.com/Wintellect/WintellectPowerShell before)
# Append the following lines to your PowerShell's $PROFILE
function Enable-VS2019X64Environment() {
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment