Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy. You can use the command-line tools of Visual Studio Profiling Tools to profile applications at the command prompt and to automate profiling by using batch files and scripting. You can also generate report files at a command prompt.
You can use the lightweight stand-alone profiler to collect data on computers that do not have Visual Studio installed. Enhanced security features in Windows 8 and Windows Server required significant changes in the way the Visual Studio profiler collects data on these platforms. UWP apps also require new collection techniques.
If you download an administrator update from the Microsoft Update Catalog into your installation directory on your client machine, you can just double-click on the file to apply the update. You can also open a command window and pass some of the parameters below to change the default behavior. If you are deploying the administrator update through Microsoft Endpoint Manager SCCM , you can modify the package to adjust the behavior by using the parameters below.
You can also control the parameters via a configuration file on the client machine. For more information, refer to Methods for configuring an administrator update. Syntax example: visualstudioupdate Sometimes, things can go wrong.
If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback?
Edition Bootstrapper Visual Studio Enterprise version Tip If you previously downloaded a bootstrapper file and want to verify what version it is, here's how. Tip If you previously downloaded a bootstrapper file and want to verify its version, here's how. Tip If you previously downloaded a bootstrapper file and want to verify what version it will install, here's how.
Important When specifying multiple distinct workloads or components or languages, you must repeat the --add or --remove command-line switch for each item. Submit and view feedback for This product This page. View all page feedback. In this article. The default command both installs the product, and it is used for all layout maintenance operations.
Exports installation selection to an installation configuration file. For the default install command, this parameter is Optional and describes where the instance will be installed on the client machine.
For other commands like update or modify, this parameter is Required and denotes the installation directory for the instance to act upon. Optional : During an install or modify command, this repeatable parameter specifies one or more workload or component IDs to add.
The required components of the artifact are installed, but not the recommended or optional components. To include multiple workloads or components, repeat the --add command for example, --add Workload1 --add Workload2. For finer-grained control, you can append ;includeRecommended or ;includeOptional to the ID for example, --add Workload1;includeRecommended or --add Workload2;includeRecommended;includeOptional.
For more information, see the Workload and component IDs page. Optional : During a modify command, this repeatable parameter specifies one or more workload or component IDs to remove. It complements and behaves similarly to the --add parameter. Optional : During an install or modify command, this repeatable parameter specifies the UI language packs that should be installed with the product. If not present, the installation uses the language pack that corresponds to the machine locale.
For more information, see the List of language locales section on this page. Optional : During an install or modify command, this repeatable parameter determines the UI language packs that should be removed from the product. It complements and behaves similarly to the --addProductLang parameter. Optional : The URI or path to a response file , which can contain configuration settings. Optional : During an install or modify command, this parameter causes all workloads and components for the product to be installed.
Optional : During an install or modify command, this parameter installs all workloads and components, but no recommended or optional components. Optional : During an install or modify command, this parameter includes the recommended components for any workloads that are installed, but not the optional components. The workloads are specified either with --allWorkloads or --add.
Optional : During an install or modify command, this parameter includes the optional components for any workloads that are installed, but not the recommended components. Optional : Used with any command, this parameter prevents any user interface from being displayed while the command is being executed. Optional : This parameter causes the user interface to be displayed in a non-interactive manner. This parameter is mutually exclusive from and in fact overrides the --quiet parameter.
Optional : This parameter must be paired with either the --passive or --quiet parameters. During an install, update, or modify command, adding the --norestart parameter will delay any necessary reboot.
Optional : During an install, update, or modify command, this parameter allows Visual Studio to both download and install the product in parallel. It's the default experience. Optional : During an install, update, or modify command, this parameter forces Visual Studio to download all files before installing them. By default, the latest installed Windows SDK is used. By default, the environment is set to use the current Visual Studio compiler toolset. Use the value spectre to use libraries with Spectre mitigations.
At the command prompt, use the CD command to change to the Visual Studio installation directory. Then, use CD again to change to the subdirectory that contains the configuration-specific command files. For Visual Studio , use the VC subdirectory. Enter the command for your preferred developer environment. Open the Properties dialog for a developer command prompt shortcut to see the command target used.
The architecture-specific batch files set the architecture parameter and call vcvarsall. You can pass the same options to these batch files as you would pass to vcvarsall. To specify parameters for your own command shortcut, add them to the end of the command in double-quotes.
To use an earlier compiler toolset, specify the version number. Use something like this command target in your shortcut:. Adjust the path to reflect your Visual Studio installation directory. CL Use the compiler cl. Link Use the linker link. When you build on the command line, the F1 command isn't available for instant help. Instead, you can use a search engine to get information about warnings, errors, and messages.
You can also download and use the offline help files. To use the search in docs. You can also use the devenv command to use Visual Studio to build projects and solutions.
You don't have to install the full IDE on all your build servers and build pipelines. You avoid the extra overhead of the IDE. MSBuild runs in containerized build environments, and supports a binary logger.
CMake CMake cmake. CMake can configure and control native build tools for its supported platforms, such as MSBuild and Make. For more information about CMake, see the CMake documentation. Starting in Visual Studio version These articles show how to build apps on the command line, and describe how to customize the command-line build environment. Walkthrough: Compile a C program on the command line Describes how to compile a program written in the C programming language.
NET Framework. Projects and build systems. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Note This article is about how to set up an environment to use the individual compilers, linkers, librarian, and other basic tools.
0コメント