You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code-quality/roslyn-analyzers-overview.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,9 @@ You can install external analyzers for every project via a NuGet package. Some a
70
70
71
71
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.
72
72
73
+
> [!NOTE]
74
+
> 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.
75
+
73
76
### Build errors
74
77
75
78
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:
Copy file name to clipboardExpand all lines: docs/install/applying-administrator-updates.md
+17-12Lines changed: 17 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Applying administrator updates to Visual Studio with Microsoft Endpoint Configuration Manager
3
3
titleSuffix: ''
4
4
description: Learn how to apply administrator updates to Visual Studio.
5
-
ms.date: 02/04/2022
5
+
ms.date: 04/06/2022
6
6
ms.topic: overview
7
7
ms.assetid: 9a3fdb28-db3d-4970-bc17-7417a985f0fb
8
8
author: anandmeg
@@ -19,12 +19,16 @@ This document describes different types and characteristics of Visual Studio adm
19
19
20
20
## Understanding Visual Studio administrator updates
21
21
22
-
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.
22
+
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.
23
23
24
-
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.
24
+
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).
25
+
26
+
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.
25
27
26
-
> [!NOTE]
27
-
> 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.
28
+
>[!NOTE]
29
+
> 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).
30
+
31
+
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.
28
32
29
33
## Types and characteristics of administrator updates
30
34
@@ -72,9 +76,12 @@ There are a few configuration options that are can be used to tailor the Visual
72
76
***[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.
73
77
***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.
74
78
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.
75
-
***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:
76
-
* 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.
77
-
* 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.
79
+
***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.
80
+
* 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).
81
+
* 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:
82
+
* 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.
83
+
* 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.
84
+
* 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.
78
85
79
86
::: moniker range=">=vs-2019"
80
87
@@ -156,14 +163,12 @@ You can use the following methods to provide feedback about Visual Studio admini
*[Import updates from Microsoft Catalog into Configuration Manager](/mem/configmgr/sum/get-started/synchronize-software-updates#import-updates-from-the-microsoft-update-catalog)
0 commit comments