Visual Studio Developer Command Prompt and Developer PowerShell
- 6 minutes to check out
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
Visual Studio consists of 2 command-line shells for designers, a command timely and a circumstances of PowerShell, as follows:
- Visual Studio Developer Command Prompt – A basic command trigger with particular environment variables set to use command-line designer tools simpler. Offered because Visual Studio 2015.
- Visual Studio Developer PowerShell – More effective than a command timely. You can pass the output of one command (understood as a cmdlet) to another cmdlet. This shell has the very same environment variables set as Developer Command Prompt. Offered given that Visual Studio 2019.
Starting in Visual Studio 2019 variation 16.5, Visual Studio consists of an incorporated terminal that can host either of these shells (Developer Command Prompt and Developer PowerShell). You can likewise open numerous tabs of each shell. The Visual Studio terminal is constructed on top of Windows Terminal To open the terminal in Visual Studio, choose View > Terminal
When you open among the designer shells from Visual Studio, either as a different app or in the Terminal window, it opens to the directory site of your existing option (if you have actually an option packed). This habits makes it practical to run commands versus the service or its jobs.
Both shells have particular environment variables set that allow you to utilize command-line designer tools more quickly. After opening among these shells, you can go into the commands for various energies without needing to understand where they’re situated.
||Build a task or option|
||A Internet Framework tool for CLR|
||A Web Framework tool for disassembler|
||A WEB CLI command|
||A INTERNET CLI command|
||C/C++ put together tool|
||C/C++ put together tool|
||C/C++ develop tool|
||C/C++ construct tool|
Start in Visual Studio
Follow these actions to open Developer Command Prompt or Developer PowerShell from within Visual Studio:
- Open Visual Studio.
- On the menu bar, choose Tools > Command Line > Developer Command Prompt or Developer PowerShell
Another method to begin the shells is from the Start menu. You might have numerous command triggers, depending upon the variation of Visual Studio and any extra SDKs and work you’ve set up.
- Select Start , and after that in the Type here to search dialog box, go into either
designer command timelyor
- Select the App result that’s connected with your search text.
- Select Start, and after that scroll to the letter V
- Expand the Visual Studio 2019 or Visual Studio 2022 folder.
- If you’re running Visual Studio 2019, choose either Developer Command Prompt for VS 2019 or Developer PowerShell for VS 2019 If you’re running Visual Studio 2022, choose either Developer Command Prompt for VS 2022 or Developer PowerShell for VS 2022
Alternatively, you can begin typing the name of the shell in the search box on the taskbar, and pick the outcome you desire as the outcome list begins to show the search matches.
- Go to the Start screen, by pushing the Windows logo design secret on your keyboard.
- On the Start screen, press Ctrl+ Tab to open the Apps list, and after that press V This raises a list that consists of all set up Visual Studio command triggers.
- If you’re running Visual Studio 2019, choose either Developer Command Prompt for VS 2019 or Developer PowerShell for VS 2019 If you’re running Visual Studio 2022, choose Developer Command Prompt for VS 2022 or Developer PowerShell for VS 2022