Home > Software > Development > IDE Visual Studio 2019 > Office/SharePoint development workload

Office/SharePoint development workload logo

Details

Package ID
visualstudio2019-workload-office
Version
1.0.0
Downloads
844
Website
https://visualstudio.microsoft.com/

Summary

Create Office and SharePoint add-ins, SharePoint solutions, and VSTO add-ins using C#, VB, and JavaScript.

Description

Overview

This package adds the Office/SharePoint development workload to an existing installation of Visual Studio 2019 (Enterprise, Professional or Community).

The lists of components included in this workload in respective Visual Studio 2019 products are shown here:

Visual Studio 2019 must be installed first, for example using Chocolatey packages: visualstudio2019enterprise, visualstudio2019professional, visualstudio2019community.

Customizations

The package passes all package parameters to the Visual Studio installer, enabling full customization of the installation. The possible parameters are described here. The package passes --norestart --includeRecommended by default, and --quiet, unless --passive is specified in the package parameters.

By default, the package installs components required by and recommended for the workload. Package parameters can be used to adjust this behavior:

  • --no-includeRecommended - Does not include the recommended components.
  • --includeOptional - Includes the optional components.

By default, the package will detect installed Visual Studio products and add the workload to all products that support it and do not have it installed already.

In order to act on one specific product when several are installed, the product needs to be indicated to the package via parameters, either:

  • --installPath - the path where the product is installed, for example ā€œC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterpriseā€

or (both are needed):

  • --productId - the identifier of the product, for example ā€œMicrosoft.VisualStudio.Product.Enterpriseā€
  • --channelId - the release channel, should be ā€œVisualStudio.16.Releaseā€

Example 1. Installing the workload on all products, including recommended, but not optional components:

choco install visualstudio2019-workload-office

Example 2. Installing the workload on one specific product, including all recommended and optional components:

choco install visualstudio2019-workload-office --package-parameters "--productId Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.16.Release --includeOptional"

Example 3. Installing the workload on all products, including only required components:

choco install visualstudio2019-workload-office --package-parameters "--no-includeRecommended"

More package parameter examples

Comments

Loading comments...