Skip to content

Repo sync for protected CLA branch #7879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 106 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
2eb896c
Update install-and-use-visual-studio-behind-a-firewall-or-proxy-serve…
christineruana Jan 27, 2022
b282864
Update visual-studio-administrator-guide.md
christineruana Feb 1, 2022
123f8cd
Update toc.yml
christineruana Feb 1, 2022
3079c64
Update visual-studio-administrator-guide.md
christineruana Feb 1, 2022
fe0009c
Update visual-studio-administrator-guide.md
christineruana Feb 1, 2022
c75e31d
Update update-servicing-baseline.md
christineruana Feb 1, 2022
bd4ba68
Update update-servicing-baseline.md
christineruana Feb 1, 2022
79b270d
Update enabling-administrator-updates.md
christineruana Feb 2, 2022
58f3b75
Update applying-administrator-updates.md
christineruana Feb 2, 2022
079b91d
Update update-a-network-installation-of-visual-studio.md
christineruana Feb 4, 2022
ac47fee
Update update-a-network-installation-of-visual-studio.md
christineruana Feb 4, 2022
c56f088
Update update-a-network-installation-of-visual-studio.md
christineruana Feb 4, 2022
01f52fa
Update applying-administrator-updates.md
christineruana Feb 4, 2022
767d8f1
Update troubleshooting-installation-issues.md
christineruana Feb 4, 2022
9c78cff
Update update-servicing-baseline.md
christineruana Feb 4, 2022
4211c4f
Update applying-administrator-updates.md
christineruana Feb 4, 2022
b6aae74
Update applying-administrator-updates.md
christineruana Feb 4, 2022
67f29dc
Update applying-administrator-updates.md
christineruana Feb 4, 2022
937b4bd
Update applying-administrator-updates.md
christineruana Feb 4, 2022
988724d
Update create-a-network-installation-of-visual-studio.md
christineruana Feb 4, 2022
e9bbeff
Update enabling-administrator-updates.md
christineruana Feb 4, 2022
defe22c
Update install-and-use-visual-studio-behind-a-firewall-or-proxy-serve…
christineruana Feb 4, 2022
2cbccf9
Update update-a-network-installation-of-visual-studio.md
christineruana Feb 4, 2022
8cd6cde
Update visual-studio-administrator-guide.md
christineruana Feb 4, 2022
abb7bc9
Update docs/install/visual-studio-administrator-guide.md
christineruana Feb 7, 2022
70505c0
Update docs/install/visual-studio-administrator-guide.md
christineruana Feb 7, 2022
3f7280d
Update applying-administrator-updates.md
christineruana Feb 7, 2022
7e8d681
Update docs/install/enabling-administrator-updates.md
christineruana Feb 7, 2022
bfa1c95
Update docs/install/applying-administrator-updates.md
christineruana Feb 7, 2022
f50d967
Update applying-administrator-updates.md
christineruana Feb 7, 2022
58798c8
Update create-a-network-installation-of-visual-studio.md
christineruana Feb 7, 2022
75af542
Update docs/install/troubleshooting-installation-issues.md
christineruana Feb 7, 2022
7fb1c15
Update docs/install/troubleshooting-installation-issues.md
christineruana Feb 7, 2022
ee5e9b5
Update update-servicing-baseline.md
christineruana Feb 7, 2022
335c28f
Update docs/install/update-servicing-baseline.md
christineruana Feb 7, 2022
5e1d6a1
Update docs/install/update-servicing-baseline.md
christineruana Feb 7, 2022
98d139b
Update docs/install/update-servicing-baseline.md
christineruana Feb 7, 2022
e5d023b
Update docs/install/update-servicing-baseline.md
christineruana Feb 7, 2022
cacd464
Update visual-studio-administrator-guide.md
christineruana Feb 7, 2022
b708e96
Update update-servicing-baseline.md
christineruana Feb 8, 2022
4dd19f4
Merge branch 'MicrosoftDocs:main' into main
christineruana Feb 15, 2022
dcf9138
Merge branch 'MicrosoftDocs:main' into main
christineruana Feb 15, 2022
6312820
sync'd content with offline install (local cache content)
christineruana Feb 16, 2022
f38cf9f
Update create-an-offline-installation-of-visual-studio.md
christineruana Feb 16, 2022
b807e34
Merge branch 'MicrosoftDocs:main' into main
christineruana Feb 16, 2022
7aaf3c5
Update create-a-network-installation-of-visual-studio.md
christineruana Feb 17, 2022
7dd3223
Update create-an-offline-installation-of-visual-studio.md
christineruana Feb 17, 2022
b870c8b
Delete update-settings.png
christineruana Feb 17, 2022
9d357a9
Add files via upload
christineruana Feb 17, 2022
82d8993
Update update-visual-studio.md
christineruana Feb 17, 2022
1c6aa44
Update visual-studio-administrator-guide.md
christineruana Feb 17, 2022
3105d52
Update visual-studio-administrator-guide.md
christineruana Feb 17, 2022
496dc31
Update use-command-line-parameters-to-install-visual-studio.md
christineruana Feb 23, 2022
889b54b
Merge branch 'MicrosoftDocs:main' into main
christineruana Feb 23, 2022
f7a7d8b
Update command-line-parameter-examples.md
christineruana Feb 24, 2022
820108c
Update command-line-parameter-examples.md
christineruana Feb 24, 2022
66db4ad
Update use-command-line-parameters-to-install-visual-studio.md
christineruana Feb 24, 2022
6bdd650
Update update-visual-studio.md
christineruana Feb 24, 2022
0607256
Update use-command-line-parameters-to-install-visual-studio.md
christineruana Feb 24, 2022
8538f25
Merge branch 'MicrosoftDocs:main' into main
christineruana Feb 24, 2022
3ac1e7c
Update command-line-parameter-examples.md
christineruana Feb 24, 2022
1ef7b99
Update update-visual-studio.md
christineruana Feb 24, 2022
56dc81c
Update update-visual-studio.md
christineruana Feb 24, 2022
035d2ae
Update update-visual-studio.md
christineruana Feb 24, 2022
4324cb6
Update update-minimal-layout.md
christineruana Feb 24, 2022
9f1c568
Update docs/install/command-line-parameter-examples.md
christineruana Mar 2, 2022
990c411
Update docs/install/command-line-parameter-examples.md
christineruana Mar 2, 2022
209d408
Update create-an-offline-installation-of-visual-studio.md
christineruana Mar 2, 2022
4dc7303
Update create-an-offline-installation-of-visual-studio.md
christineruana Mar 3, 2022
16ee11e
Update docs/install/use-command-line-parameters-to-install-visual-stu…
christineruana Mar 3, 2022
3dd3cd6
Update docs/install/use-command-line-parameters-to-install-visual-stu…
christineruana Mar 3, 2022
3c313b6
Update update-visual-studio.md
christineruana Mar 3, 2022
9cdbb3f
Update use-command-line-parameters-to-install-visual-studio.md
christineruana Mar 3, 2022
296824e
Update visual-studio-administrator-guide.md
christineruana Mar 3, 2022
4b85c41
Update create-an-offline-installation-of-visual-studio.md
christineruana Mar 3, 2022
759b983
Update command-line-parameter-examples.md
christineruana Mar 3, 2022
13f5e1e
Update create-a-network-installation-of-visual-studio.md
christineruana Mar 3, 2022
59d42cb
Update create-an-offline-installation-of-visual-studio.md
christineruana Mar 3, 2022
6397c34
Update update-minimal-layout.md
christineruana Mar 3, 2022
3d384d3
Update update-visual-studio.md
christineruana Mar 3, 2022
e4d8e01
Update use-command-line-parameters-to-install-visual-studio.md
christineruana Mar 3, 2022
2f96429
Update visual-studio-administrator-guide.md
christineruana Mar 3, 2022
8b15a12
Update install-certificates-for-visual-studio-offline.md
christineruana Mar 3, 2022
4815322
Update install-certificates-for-visual-studio-offline.md
christineruana Mar 3, 2022
cfd76ab
Update use-command-line-parameters-to-install-visual-studio.md
christineruana Mar 3, 2022
f81950c
Merge branch 'MicrosoftDocs:main' into main
christineruana Mar 7, 2022
77a1f54
Merge branch 'MicrosoftDocs:main' into main
christineruana Mar 23, 2022
043a122
Merge branch 'MicrosoftDocs:main' into main
christineruana Mar 24, 2022
2a95a0b
Merge branch 'MicrosoftDocs:main' into main
christineruana Apr 4, 2022
250849e
Merge branch 'MicrosoftDocs:main' into main
christineruana Apr 4, 2022
cd58d7e
Merge branch 'MicrosoftDocs:main' into main
christineruana Apr 5, 2022
d14f9bf
Merge branch 'MicrosoftDocs:main' into main
christineruana Apr 5, 2022
16b692c
Update applying-administrator-updates.md
christineruana Apr 6, 2022
3cd2e9b
Update enabling-administrator-updates.md
christineruana Apr 6, 2022
ad0b787
Update update-visual-studio.md
christineruana Apr 6, 2022
7ba2d00
Update applying-administrator-updates.md
christineruana Apr 6, 2022
82abd92
Update enabling-administrator-updates.md
christineruana Apr 6, 2022
6adec21
Update applying-administrator-updates.md
christineruana Apr 7, 2022
ddb4e34
Update docs/install/applying-administrator-updates.md
christineruana Apr 7, 2022
32f7e4b
Update applying-administrator-updates.md
christineruana Apr 7, 2022
2dcdb68
Update enabling-administrator-updates.md
christineruana Apr 7, 2022
64882c0
Update update-visual-studio.md
christineruana Apr 7, 2022
c97af40
Merge pull request #9718 from christineruana/main
v-ccolin Apr 7, 2022
3564975
Add note for recommended way to enable first party .NET analyzers
mavasani Apr 7, 2022
015d0bf
Merge pull request #9797 from mavasani/AddNoteToScope
PRMerger5 Apr 7, 2022
d2ac09a
Merging changes synced from https://github.com/MicrosoftDocs/visualst…
ghogen Apr 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/code-quality/roslyn-analyzers-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ You can install external analyzers for every project via a NuGet package. Some a

If you install analyzers as a Visual Studio extension, they apply at the solution level and to all instances of Visual Studio. If you install the analyzers as a NuGet package, which is the preferred method, they apply only to the project where the NuGet package was installed. In team environments, analyzers installed as NuGet packages are in scope for *all developers* that work on that project.

> [!NOTE]
> First party analyzers also ship inside the .NET SDK. It is recommended that you enable these analyzers from the .NET SDK instead of installing the `Microsoft.CodeAnalysis.NetAnalyzers` [NuGet package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers), when possible. Enabling the analyzers from the .NET SDK ensures that you automatically get the analyzer bug fixes and new analyzers as soon as you update the SDK. See [Enable or install first-party .NET analyzers](install-net-analyzers.md) for more details.

### Build errors

To enforce the rules at build time, which includes through the command line or as part of a continuous integration (CI) build, choose one of the following options:
Expand Down
29 changes: 17 additions & 12 deletions docs/install/applying-administrator-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Applying administrator updates to Visual Studio with Microsoft Endpoint Configuration Manager
titleSuffix: ''
description: Learn how to apply administrator updates to Visual Studio.
ms.date: 02/04/2022
ms.date: 04/06/2022
ms.topic: overview
ms.assetid: 9a3fdb28-db3d-4970-bc17-7417a985f0fb
author: anandmeg
Expand All @@ -19,12 +19,16 @@ This document describes different types and characteristics of Visual Studio adm

## Understanding Visual Studio administrator updates

The Visual Studio administrator update package that is published to Microsoft Update for consumption by the Microsoft Catalog and WSUS contains information that the Configuration Manager needs to be able to download and distribute the Visual Studio update to client machines. It also contains information that an IT administrator needs in order to decide which updates to distribute throughout the organization. It can also be used to facilitate maintenance of network layouts. The Visual Studio administrator update packages don’t contain enough information to do a fresh installation of the product, nor do they contain any of the actual product binaries that are published to the Content Delivery Network. Visual Studio administrator updates are cumulative, just like regular Visual Studio updates. You can assume that any Visual Studio update that has a higher product version number and a later release date is a superset of an older, lower version.
The Visual Studio administrator update package that is published to the [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx), WSUS, and the SCCM Configuration Manager contains information that the Visual Studio client machines need to be able to download and _update_ Visual Studio. The Visual Studio administrator update packages don’t contain enough information to perform a new installation of the product, nor do they contain any of the actual product binaries that are published to the Content Delivery Network. The Visual Studio administrator updates are cumulative, just like regular Visual Studio updates. You can assume that any Visual Studio update that has a higher product version number and a later release date is a superset of an older, lower version.

Visual Studio administrator updates apply to Visual Studio servicing versions that are under support. For more information about which Visual Studio servicing baselines are still in support during a particular timeframe, see [Visual Studio Product Lifecycle and Servicing](/visualstudio/productinfo/vs-servicing-vs). All supported Visual Studio servicing baselines will be kept secure.
The Visual Studio administrator update packages are [titled in a way](#decoding-the-titles-of-administrator-updates) to help an IT administrator decide which updates should be distributed throughout their organization. An IT administrator can [configure the administrator update in a way to control certain aspects of the update behavior](#using-configuration-manager-to-deploy-visual-studio-updates), and they can download the Visual Studio administrator update package from the Microsoft Catalog and use it to [update a network layout](/visualstudio/install/create-a-network-installation-of-visual-studio#update-the-layout-to-a-specific-version-of-the-product).

Visual Studio administrator updates that are deployed through SCCM cause the client machines to download the product files from wherever the [client is configured to download updates from](/visualstudio/install/update-visual-studio#configure-source-location-of-updates-1) and apply the update. The updated product bits can be sourced from either the internet or, in scenarios where the client is not connected to the internet, the updated product bits can come from an updated network layout.

> [!NOTE]
> Visual Studio administrator updates cause the client machines to download the product files from wherever the [client is configured to download updates from](/visualstudio/install/update-visual-studio#configure-source-location-of-updates-1) - either the internet or a network layout. Thus, Administrator updates can be used in scenarios where the client is not connected to the internet. For example, if the client is configured to obtain updates from a network layout, then the Administrator updates can serve to trigger the clients to update themselves.
>[!NOTE]
> By default, the client machine's SYSTEM account will be downloading and installing the Visual Studio administrator updates, which means that the SYSTEM account must have administrative privileges to the machine, and it [must also have access to either the internet or to the network layout location in order to download the updated product bits](#understanding-configuration-options).

Visual Studio administrator updates apply to Visual Studio servicing versions that are under support. For more information about which Visual Studio servicing baselines are still in support during a particular timeframe, see [Visual Studio Product Lifecycle and Servicing](/visualstudio/productinfo/vs-servicing-vs). All supported Visual Studio servicing baselines will be kept secure.

## Types and characteristics of administrator updates

Expand Down Expand Up @@ -72,9 +76,12 @@ There are a few configuration options that are can be used to tailor the Visual
* **[Administrator update opt-in](../install/enabling-administrator-updates.md#encoding-administrator-intent-on-the-client-machines)**: This registry key is required for the client machine to receive administrator updates. It is a machine-wide key, which means it applies to all instances of Visual Studio installed on the box.
* **Visual Studio user opt-out**: Visual Studio users can use a separate machine-wide **AdministratorUpdatesOptOut** registry key to *opt out* of receiving Visual Studio administrator updates. The purpose of this key is to allow the Visual Studio user to have some control over having updates automatically applied to the machine. To configure the client computer to block administrator updates, set the **AdministratorUpdatesOptOut** REG_DWORD key to **1**. The absence of the key, or a set value of **0**, means that the Visual Studio user wants to receive administrator updates to Visual Studio.
Note that the **AdministratorUpdatesOptOut** key for encoding user preference is prioritized over the **AdministratorUpdatesEnabled** key, which encodes the IT admin intent. If **AdministratorUpdatesOptOut** is set to **1**, the update will be blocked on the client, even if the **AdministratorUpdatesEnabled** key is also set to **1**. This action assumes that IT admins can access and monitor which developers chose to opt out, and that the two parties can then discuss whose needs are more important. IT admins can always change either key whenever they want.
* **Location of the updated product bits**: Most of the time, client machines download the updated product bits from the internet via the Microsoft CDN. This scenario requires the client machines to have internet access. Some enterprises, however, restrict client machines to only install and update bits from an internal network layout location. To ensure that administrator updates can be applied using updated bits that are on an internal network location, the following conditions must be true before the administrator update can be successfully deployed:
* The client machine must have, at some point, already run the bootstrapper from that network layout location. Ideally, the original client install would have happened using the bootstrapper from the network layout, but it's also possible to have just installed an update using an updated bootstrapper in that same network location. Either one of these actions would embed, on the client machine, a connection with that particular layout location.
* The network layout location (where the client is connected to) must be [updated to contain the updated product bits](../install/update-a-network-installation-of-visual-studio.md) that the administrator update wants to deploy.
* **Location of the updated product bits**: When executing the update, the client machines will download the updated product bits from either the internet via the Microsoft CDN or from from a network layout share. In both of these cases, the account on the client machine that is executing the update (typically SYSTEM, but [can be customized to USER](/mem/configmgr/apps/deploy-use/create-applications#bkmk_dt-ux)) must have both administrative privileges on the machine as well as access to the source location of product bits.
* If the product is being sourced from the internet, then the SYSTEM account executing the update must have access to at least the [Visual Studio endpoints](/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server).
* If the product is being sourced from a network layout location then the following conditions must be true before the administrator update can be successfully deployed:
* The account executing the update must have permissions to the network share. For example, if SYSTEM accounts are executing the administrator updates, then you'll need to give the "Domain Computers" group permissions to the network layout share.
* The client machine must have, at some point, already run the bootstrapper from that network layout location. Ideally, the original client install would have happened using the bootstrapper from the network layout, but it's also possible to have just installed an update using an updated bootstrapper in that same network location. Either one of these actions would embed, on the client machine, a connection with that particular layout location.
* The network layout location (where the client is connected to) must be [updated to contain the updated product bits](../install/update-a-network-installation-of-visual-studio.md) that the administrator update wants to deploy.

::: moniker range=">=vs-2019"

Expand Down Expand Up @@ -156,14 +163,12 @@ You can use the following methods to provide feedback about Visual Studio admini
* [Enabling administrator updates](../install/enabling-administrator-updates.md)
* [Visual Studio administrator guide](../install/visual-studio-administrator-guide.md)
* [Visual Studio Product Lifecycle and Servicing](/visualstudio/productinfo/vs-servicing-vs)
* [Visual Studio 2019 Release Notes](/visualstudio/releases/2019/release-notes)
* [Visual Studio 2017 Release Notes](/visualstudio/releasenotes/vs2017-relnotes)
* [Install Visual Studio](../install/install-visual-studio.md)
* [Update Visual Studio](../install/update-visual-studio.md)
* [Using Command Line Parameters to install Visual Studio](../install/use-command-line-parameters-to-install-visual-studio.md)
* [Tools for detecting and managing Visual Studio instances](../install/tools-for-managing-visual-studio-instances.md)
* [Create a network installation of Visual Studio](../install/create-a-network-installation-of-visual-studio.md)
* [How to define settings in a response file](../install/automated-installation-with-response-file.md)
* [Control updates to network-based Visual Studio deployments](../install/controlling-updates-to-visual-studio-deployments.md)
* [Update a Visual Studio client that was installed from a network layout](../install/update-a-network-installation-of-visual-studio.md)
* [Microsoft Update Catalog FAQ](https://www.catalog.update.microsoft.com/faq.aspx)
* [Microsoft Endpoint Configuration Manager (SCCM) documentation](/mem/configmgr)
* [Import updates from Microsoft Catalog into Configuration Manager](/mem/configmgr/sum/get-started/synchronize-software-updates#import-updates-from-the-microsoft-update-catalog)
Expand Down
Loading