It is quite convenient to use visual studio developer command prompt from VS Code integrated terminal.
-
You need to find the correct command line argument to start the visual studio command prompt. You can do that by checking properties of the shortcut icon.
-
Copy the shortcut link text
- Then go to user preferences of VS Code and update the ShellArgs property with correct parameters you copied from the step 2.
- If everything goes ok you should be able to use developer command prompt within VS Code integrated shell as follows
Troubleshooting
If you have trouble executing commands you can check if correct command parameters are passed into the integrated terminal by using the process explorer.
If you are running an older version of VS Code you may need to upgrade to the latest version due to this bug
Comments