
includeOptional Includes the recommended and optional components for any workloads being included in the layout. The workloads are specified either with -allWorkloads or -add. includeRecommended Includes the recommended components for any workloads that are installed, but not the optional components. If -add is not specified, all workloads and components are downloaded to the layout. Note: If -add is used, only the specified workloads and components and their dependencies are downloaded. For finer-grained control, you can append includeRecommended or includeOptional to the ID (for example, -add Workload1 includeRecommended or -add Workload2 includeOptional). You can control additional components globally using -includeRecommended and/or -includeOptional. The required components of the artifact are installed, but not the recommended or optional components. add One or more workload or component IDs to add.

See a full list of supported language-locales below. lang Used with -layout to prepare an offline install cache with resource packages with the specified language(s). layout Specifies a directory to create an offline install cache.

The relevant layout commands are: command-line option Description You can get help on the command line arguments for the installer via: vs_community -help

See the instructions for command line arguments to select just C++. NOTE: Change drive F to match a drive on your system that has ~35 GB of free space for MSVC 2019. You need to use the -layout command line argument and then run the downloaded installer.ĭownload and Cache offline files: vs_community.exe -layout f:\vslayout.2019 -lang en-US

ISO images of Visual Studio - instead they have instructions of placing the burden on you to create an offline installer. Microsoft no longer offers offline installers such as.
