Wintellect / WintellectPowerShell

PowerShell scripts for better debugging and life
http://www.wintellect.com
Other
178 stars 41 forks source link

Error running Import-VisualStudioEnvironment #4

Closed stuartleeks closed 8 years ago

stuartleeks commented 8 years ago

I get the error below when I run Import-VisualStudioEnvironment:

'"C:\Program Files (x86)\Microsoft Visual Studio 14.0\\vc\vcvarsall.bat"' is not recognized as an internal or external command, operable program or batch file.
ERROR: Error executing CMD.EXE: 1

Checking "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\", the vcvarsall.bat doesn't exist. I think I did a fairly minimal install on this machine (C# + Web tools). There is a Developer Command Prompt for VS2015 in my Start Menu, and checking the properties for that it launches "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"

JohnWintellect commented 8 years ago

Thanks, Stuart! I really appreciate the bug report. All fixed now.