Select the installation locations in Visual Studio 2017

New in 15.7: You can reduce the installation footprint of Visual Studio on your system drive by changing the location for some of its files. Specifically, you can use a different location for the download cache, shared components, SDKs, and tools files.

Note

There are some tools and SDKs that have different rules on where they can be installed. Such tools and SDKs are installed on your system drive even if you choose another location.

Ready to get started? Here's how.

  1. When you install Visual Studio, choose the Installation locations tab.

    Visual Studio 2017 - Select the installation location

  2. In the Visual Studio IDE section, accept the default. Visual Studio installs the core product and includes files that are specific to this version of Visual Studio.

    Visual Studio IDE section of the Installation Locations tab

    Tip

    If your system drive is a solid-state drive (SSD), we recommend that you accept the default location on your system drive. The reason? When you develop with Visual Studio, you read from and write to a lot of files, which increases the disk I/O activity. It's best to choose your fastest drive to handle the load.

  3. In the Download cache section, decide if you want to keep the download cache, and then decide where you want to store its files.

    Download Cache section of the Installation Locations tab

    1. Check or uncheck Keep download cache after the installation.

      If you decide not to keep the download cache, the location is used only temporarily. This action won't affect or delete files from previous installations.

    2. Specify the drive where you want to store installation files and manifests from the download cache.

      For example, if you select the "Desktop development with C++" workload, the temporarily required size is 1.58 GB on your system drive, which is then freed as soon as the installation completes.

      Important

      This location is set with your first installation and cannot be changed later from the installer UI. Instead, you must use command-line parameters to move the download cache.

  4. In the Shared components, tools, and SDKs section, specify the drive where you want to store the files that are shared by side-by-side Visual Studio installations. SDKs and tools are also stored in this directory.

    Shared Components, Tools, And SDKs section of the Installation Locations tab

Get support

Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshooting Visual Studio 2017 installation and upgrade issues for step-by-step guidance.

We also offer a live chat (English only) support option for installation-related issues.

Here are a few more support options:

See also