From d08e9ee5ce715637ef5fcdf4d9e53b45362586b8 Mon Sep 17 00:00:00 2001 From: Megha Anand <88059806+anandmeg@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:39:54 -0700 Subject: [PATCH 1/4] Add examples for --add --- .../command-line-parameter-examples.md | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/install/command-line-parameter-examples.md b/docs/install/command-line-parameter-examples.md index fb1cf9efdee..0dffb4344b8 100644 --- a/docs/install/command-line-parameter-examples.md +++ b/docs/install/command-line-parameter-examples.md @@ -1,7 +1,7 @@ --- title: Command-line parameter examples for installation description: Customize command-line parameter examples to create your own installation of Visual Studio by setting parameters, such as installPath, wait, all, remove, and more. -ms.date: 3/11/2024 +ms.date: 10/03/2024 ms.topic: conceptual author: anandmeg ms.author: meghaanand @@ -105,6 +105,24 @@ The following command is an example of using `--wait` with the PowerShell script vs_enterprise.exe --all ``` +## Using --add to add workloads or components + +* Use `--add` with the install command to add one or more workload or component IDs. To include multiple workloads or components, repeat the --add command. + + ```shell + vs_enterprise.exe --installPath "C:\VS" ^ + --add Microsoft.VisualStudio.Workload.ManagedDesktop ^ + --includeRecommended + ``` + +* Use `--add` with the modify command to add one or more workload or component IDs. To include multiple workloads or components, repeat the --add command. + + ```shell + vs_enterprise.exe modify --installPath "C:\VS" ^ + --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended ^ + --add Microsoft.VisualStudio.Workload.Data;includeRecommended;includeOptional + ``` + ## Using --includeRecommended * Install a second instance of Visual Studio Professional using a nickname on a machine with Visual Studio Community edition already installed, with support for Node.js development: From e1dd3a7898f2f3a6d2cd1f20059a93c36e4b5b93 Mon Sep 17 00:00:00 2001 From: Megha Anand <88059806+anandmeg@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:08:13 -0700 Subject: [PATCH 2/4] freshness pasS --- docs/ide/create-new-project.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/ide/create-new-project.md b/docs/ide/create-new-project.md index 526a9708db3..32b3052885d 100644 --- a/docs/ide/create-new-project.md +++ b/docs/ide/create-new-project.md @@ -1,7 +1,7 @@ --- title: Create and configure a new project description: Create and configure a new project in Visual Studio by choosing a template type, the Framework version, an authentication type, and more. -ms.date: 11/17/2023 +ms.date: 10/14/2024 ms.topic: how-to f1_keywords: - vs.newproject @@ -11,10 +11,11 @@ author: anandmeg ms.author: meghaanand manager: mijacobs ms.subservice: general-ide +#customer intent: As a developer, I want to create cd..a new project in Visual Studio. --- # Create a new project in Visual Studio -In this article, we'll show you how to quickly create a new project in Visual Studio from a template. +In this article, you learn how to quickly create a new project in Visual Studio from a template. ::: moniker range="vs-2019" From 4c013dd6c311042553e30e8d4d0f44249b836dd3 Mon Sep 17 00:00:00 2001 From: Megha Anand <88059806+anandmeg@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:04:23 -0700 Subject: [PATCH 3/4] Add add to h2 --- .../command-line-parameter-examples.md | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/docs/install/command-line-parameter-examples.md b/docs/install/command-line-parameter-examples.md index 0dffb4344b8..ea1626df3ed 100644 --- a/docs/install/command-line-parameter-examples.md +++ b/docs/install/command-line-parameter-examples.md @@ -1,12 +1,11 @@ --- title: Command-line parameter examples for installation description: Customize command-line parameter examples to create your own installation of Visual Studio by setting parameters, such as installPath, wait, all, remove, and more. -ms.date: 10/03/2024 +ms.date: 10/14/2024 ms.topic: conceptual author: anandmeg ms.author: meghaanand manager: mijacobs - ms.subservice: installation --- # Command-line parameter examples for Visual Studio installation @@ -21,7 +20,7 @@ You can use the `^` character at the end of a command line to concatenate multip For lists of the workloads and components that you can install by using the command line, see the [Visual Studio workload and component IDs](workload-and-component-ids.md) page. -## Install using --installPath alongside the bootstrapper +## Install using --installPath and --add alongside the bootstrapper * Install a minimal instance of Visual Studio, with no interactive prompts, but progress displayed: @@ -105,24 +104,6 @@ The following command is an example of using `--wait` with the PowerShell script vs_enterprise.exe --all ``` -## Using --add to add workloads or components - -* Use `--add` with the install command to add one or more workload or component IDs. To include multiple workloads or components, repeat the --add command. - - ```shell - vs_enterprise.exe --installPath "C:\VS" ^ - --add Microsoft.VisualStudio.Workload.ManagedDesktop ^ - --includeRecommended - ``` - -* Use `--add` with the modify command to add one or more workload or component IDs. To include multiple workloads or components, repeat the --add command. - - ```shell - vs_enterprise.exe modify --installPath "C:\VS" ^ - --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended ^ - --add Microsoft.VisualStudio.Workload.Data;includeRecommended;includeOptional - ``` - ## Using --includeRecommended * Install a second instance of Visual Studio Professional using a nickname on a machine with Visual Studio Community edition already installed, with support for Node.js development: From 9e0bca3ce49a7c9b65358a8c89d70ea86e47d11c Mon Sep 17 00:00:00 2001 From: Megha Anand <88059806+anandmeg@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:23:17 -0700 Subject: [PATCH 4/4] Update organize and edit code landing page --- docs/ide/create-new-project.md | 2 +- docs/ide/index-writing-code.yml | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/ide/create-new-project.md b/docs/ide/create-new-project.md index 32b3052885d..d1ec1e3acce 100644 --- a/docs/ide/create-new-project.md +++ b/docs/ide/create-new-project.md @@ -1,7 +1,7 @@ --- title: Create and configure a new project description: Create and configure a new project in Visual Studio by choosing a template type, the Framework version, an authentication type, and more. -ms.date: 10/14/2024 +ms.date: 10/15/2024 ms.topic: how-to f1_keywords: - vs.newproject diff --git a/docs/ide/index-writing-code.yml b/docs/ide/index-writing-code.yml index 2675b70bbc8..168a041b1ed 100644 --- a/docs/ide/index-writing-code.yml +++ b/docs/ide/index-writing-code.yml @@ -11,7 +11,7 @@ metadata: ms.topic: landing-page author: anandmeg ms.author: meghaanand - ms.date: 10/23/2023 + ms.date: 10/15/2024 # linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new @@ -24,8 +24,8 @@ landingContent: linkLists: - linkListType: tutorial links: - - text: Create a new project - url: create-new-project.md + - text: Work with solutions and projects + url: creating-solutions-and-projects.md - text: Open a project from a repo url: ../get-started/tutorial-open-project-from-repo.md - linkListType: how-to-guide @@ -48,6 +48,8 @@ landingContent: url: code-generation-in-visual-studio.md - text: Manage code style preferences url: code-styles-and-code-cleanup.md + - text: Manage project and solution properties + url: managing-project-and-solution-properties.md - text: Code analysis url: ../code-quality/roslyn-analyzers-overview.md @@ -58,7 +60,9 @@ landingContent: links: - text: AI assistance tools url: ai-assisted-development-visual-studio.md - - text: GitHub Copilot + - text: Install and manage GitHub Copilot + url: visual-studio-github-copilot-install-and-states.md + - text: GitHub Copilot Completions url: visual-studio-github-copilot-extension.md - text: GitHub Copilot Chat url: visual-studio-github-copilot-chat.md