共用方式為


Command-line switches (Visual Studio SDK)

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Devenv.exe, the executable that starts the Visual Studio integrated development environment (IDE), supports command-line switches specifically for development of VSPackages. VSPackages can also make their own switches available at the Devenv command line. The following topics provide information about how to use command-line switches in the IDE.

In this section

  • Devenv command-line switches Explains how Devenv lets you set various options for the IDE, and how you can compile, build, and debug projects from the command line. Additionally, there is information about the syntax of Devenv switches and a table of switches.