The Command window can be opened from the Other Windows section of the View menu. When opened, the window displays a > prompt. This is a command prompt at which you can execute commands — specifically, Visual Studio commands. While Visual Studio is designed to be a GUI environment with limited shortcuts, the Command window enables you to type — with the assistance of IntelliSense — the specific command you want.
You can use the Command window to access Visual Studio menu options and commands by typing them instead of selecting them in the menu structure. For example, type File.AddNewProject and press Enter — the dialog box to add a new project will appear. Similarly, if you type Debug.Start, you initiate the same build and start actions that you would from the Visual Studio UI.
Was this article helpful?