posh-vs
posh-vs copied to clipboard
Makes Visual Studio command line tools available in PowerShell
On a system with nothing but Visual Studio 2019 installed, posh-vs adds 1 second (well over 1s on cold start) to powershell startup. It invokes VsDevCmd.bat which in turn spawns...
It would be nice if it was possible to forward arguments from Import-VisualStudioEnvironment to vsdevcmd.bat. A typical use case would be to pass `-arch=amd64` to it. Thanks!
I am importing the VS2019 x64 environment from my PowerShell profile like this: ``` Import-BatchEnvironment 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat' ``` After updating to VS2019 v16.2, the following warning appears...
My profile is utf-8 but it converted it to UTF-16 LE. It actually made the file unreadable the first time I tried it, but I haven't been able to reproduce...
- `Install-PoshVs` succeeds silently when Visual Studio is not installed. - `Import-VisualStudioEnvironment` displays a cryptic error message if Visual Studio is not installed. ``` Import-BatchEnvironment : Cannot bind argument to...