With command prompt, I run vsvars32
to run all the visual studio command line utilities (compiler, linker ...).
However, when I run the same thing with PowerShell, I can't run the utilities. What might be wrong?
The answer is in here: Use PowerShell for Visual Studio Command Prompt
Running a batch file causes it to spawn its own process, which doesn't affect the powershell environment. For a workaround, see: How to call batch script from Powershell?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With