Skip to content

Commit 5ccef0b

Browse files
Merge pull request #13273 from anandmeg/uuf-286296
Add link to winget config authoring doc
2 parents 3b6a6b9 + 94a584b commit 5ccef0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/install/use-command-line-parameters-to-install-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use command-line parameters to install Visual Studio
33
titleSuffix: ''
44
description: Use command-line parameters with your Visual Studio installation and start the installation with preselected options or automate the installation and update process.
5-
ms.date: 05/20/2024
5+
ms.date: 10/28/2024
66
ms.topic: conceptual
77
f1_keywords:
88
- command-line parameters
@@ -281,7 +281,7 @@ Of course, you can also just include components directly during the initial inst
281281
winget install --id Microsoft.VisualStudio.2022.Community --override "--quiet --add Microsoft.Visualstudio.Workload.Azure"
282282
```
283283

284-
If you already have Visual Studio installed on your machine, then it's possible to use [winget's `configure` command](/windows/package-manager/winget/configure) along with the [Visual Studio PowerShell DSC provider](https://www.powershellgallery.com/packages/Microsoft.VisualStudio.DSC), a yaml file, and a .vsconfig file to **add** components to an existing Visual Studio installation. Winget's `configure` command essentially acts as a Visual Studio "modify" operation.
284+
If you already have Visual Studio installed on your machine, then it's possible to use [winget's `configure` command](/windows/package-manager/winget/configure) along with the [Visual Studio PowerShell DSC provider](https://www.powershellgallery.com/packages/Microsoft.VisualStudio.DSC), a yaml file, and a .vsconfig file to **add** components to an existing Visual Studio installation. Winget's `configure` command essentially acts as a Visual Studio "modify" operation. See [how to author a WinGet Configuration file](/windows/package-manager/configuration/create) to learn how to create a winget configuration.
285285

286286
It's not possible to use either the `--override` switch or the Visual Studio DSC provider alongside winget's `upgrade` command, as `upgrade` essentially just acts as a Visual Studio "update" operation and installs the latest version of components you have already selected. You can't add components via an update/upgrade. You need to use winget's `configure` to add components.
287287

0 commit comments

Comments
 (0)