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/ca1001.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Starting with FxCop analyzers 3.x, this rule respects types implementing <xref:S
39
39
To fix a violation of this rule, implement <xref:System.IDisposable> and from the <xref:System.IDisposable.Dispose%2A?displayProperty=fullName> method call the <xref:System.IDisposable.Dispose%2A> method of the field.
40
40
41
41
## When to suppress warnings
42
-
Do not suppress a warning from this rule.
42
+
In general, do not suppress a warning from this rule. It is OK to suppress the warning when the dispose ownership of the field(s) is not held by the containing type.
43
43
44
44
## Example
45
45
The following example shows a class that violates the rule and a class that satisfies the rule by implementing <xref:System.IDisposable>. The class does not implement a finalizer because the class does not directly own any unmanaged resources.
Copy file name to clipboardExpand all lines: docs/code-quality/ca2002.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ The following types have a weak identity and are flagged by the rule:
54
54
55
55
-<xref:System.Threading.Thread>
56
56
57
+
-[this](/dotnet/csharp/language-reference/keywords/this) or [Me](/dotnet/visual-basic/programming-guide/program-structure/me-my-mybase-and-myclass) object (starting in FxCop 3.0)
58
+
57
59
## How to fix violations
58
60
59
61
To fix a violation of this rule, use an object from a type that is not in the list in the Description section.
Copy file name to clipboardExpand all lines: docs/install/modify-visual-studio.md
+50-32Lines changed: 50 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "Modify Visual Studio"
3
3
titleSuffix: ""
4
4
description: "Learn how to modify Visual Studio, step-by-step."
5
5
ms.custom: "H1Hack27Feb2017,seodec18"
6
-
ms.date: 12/03/2019
6
+
ms.date: 12/19/2019
7
7
ms.topic: conceptual
8
8
helpviewer_keywords:
9
9
- "modify Visual Studio"
@@ -29,7 +29,7 @@ It's easy to modify Visual Studio so that it includes only what you want, when y
29
29
30
30
::: moniker range="vs-2017"
31
31
32
-
Not only have we made it easier for you to personalize Visual Studio to match the tasks you want to accomplish, we've also made it easier to customize Visual Studio, too. To do so, start the new Visual Studio Installer and make the changes you want.
32
+
Not only have we made it easier for you to personalize Visual Studio to match the tasks you want to accomplish, we've also made it easier to customize Visual Studio, too. To do so, open the new Visual Studio Installer and make the changes you want.
33
33
34
34
::: moniker-end
35
35
@@ -38,25 +38,13 @@ Here's how.
38
38
>[!IMPORTANT]
39
39
>To install, update, or modify Visual Studio, you must log on with an account that has administrative permissions. For more information, see [User permissions and Visual Studio](../ide/user-permissions-and-visual-studio.md).
40
40
41
-
## Modify workloads
42
-
43
-
::: moniker range="vs-2017"
44
-
45
-
[Workloads](https://visualstudio.microsoft.com/vs/support/selecting-workloads-visual-studio-2017/) contain the features you need for the programming language or platform that you're using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
46
-
47
-
::: moniker-end
48
-
49
-
::: moniker range="vs-2019"
50
-
51
-
Workloads contain the features you need for the programming language or platform that you're using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
52
-
53
-
::: moniker-end
54
-
55
41
>[!NOTE]
56
-
> The following procedure assumes that you have an internet connection.
42
+
> The following procedures assume that you have an internet connection.
57
43
>
58
44
> For more information about how to modify a previously created [offline installation](create-an-offline-installation-of-visual-studio.md) of Visual Studio, see both the [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md) page and the [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md) page.
59
45
46
+
## Open the Visual Studio Installer
47
+
60
48
::: moniker range="vs-2017"
61
49
62
50
1. Find the Visual Studio Installer on your computer.
@@ -68,21 +56,14 @@ Here's how.
68
56
>[!TIP]
69
57
>On some computers, the Visual Studio Installer might be listed under the letter **"M"** as the **Microsoft Visual Studio Installer**.<br/><br/> Alternatively, you can find the Visual Studio Installer in the following location: `C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe`
70
58
71
-
1.Click or tap to start the installer, and then choose **Modify**.
59
+
1.Open the installer, and then choose **Modify**.
72
60
73
61

74
62
75
-
If you have an update pending, the Modify button is in a different place. This way, you can modify Visual Studio without updating it, should you choose to do so. Click **More**, and then choose **Modify**.
76
-
77
-

78
-
79
-
1. From the **Workloads** screen, select or deselect the workloads that you want to install or uninstall.
80
-
81
-

82
-
83
-
1. Choose **Modify** again.
84
-
85
-
1. After the new workloads and components are installed, choose **Launch**.
63
+
> [!IMPORTANT]
64
+
> If you have an update pending, the Modify button is in a different place. This way, you can modify Visual Studio without updating it, should you choose to do so. Click **More**, and then choose **Modify**.
65
+
>
66
+
> 
86
67
87
68
::: moniker-end
88
69
@@ -105,7 +86,40 @@ Here's how.
105
86
106
87

107
88
108
-
1. In the **Workloads** tab, select or deselect the workloads that you want to install or uninstall.
89
+
> [!IMPORTANT]
90
+
> If you have an update pending, the Modify button is in a different place. This way, you can modify Visual Studio without updating it, should you want to. Choose **More**, and then choose **Modify**.
91
+
>
92
+
> 
93
+
94
+
::: moniker-end
95
+
96
+
## Modify workloads
97
+
98
+
::: moniker range="vs-2017"
99
+
100
+
[Workloads](https://visualstudio.microsoft.com/vs/support/selecting-workloads-visual-studio-2017/) contain the features you need for the programming language or platform that you're using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
101
+
102
+
1. In the Visual Studio Installer, choose the **Workloads** tab, and then select or deselect the workloads that you want.
103
+
104
+

105
+
106
+
1. Choose whether you want to accept the default **Install while downloading** option or the **Download all, then install** option.
107
+
108
+

109
+
110
+
The "Download all, then install" option is handy if you want to download first and then install later.
111
+
112
+
1. Choose **Modify**.
113
+
114
+
1. After the new workloads are installed, choose **Launch** from the Visual Studio Installer to open Visual Studio.
115
+
116
+
::: moniker-end
117
+
118
+
::: moniker range="vs-2019"
119
+
120
+
Workloads contain the features you need for the programming language or platform that you're using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
121
+
122
+
1. In in the Visual Studio Installer, choose the **Workloads** tab, and then select or deselect the workloads that you want.
109
123
110
124

111
125
@@ -117,13 +131,17 @@ Here's how.
117
131
118
132
1. Choose **Modify**.
119
133
120
-
1. After the new workloads and components are installed, choose **Launch** from the Visual Studio Installer.
134
+
1. After the new workloads are installed, choose **Launch** from the Visual Studio Installer to open Visual Studio.
121
135
122
136
::: moniker-end
123
137
124
138
## Modify individual components
125
139
126
-
If you don't want to install workloads to customize your Visual Studio installation, choose the **Individual Components** tab from the Visual Studio Installer, select what you want, and then follow the prompts.
140
+
If you don't want to use workloads to customize your Visual Studio installation, choose the **Individual Components** tab in the Visual Studio Installer, select the components you want, and then follow the prompts.
141
+
142
+
## Modify language packs
143
+
144
+
By default, the installer matches the language of the operating system when it runs for the first time. However, you can change the language whenever you want. To do so, choose the **Language packs** tab in the Visual Studio Installer, select the language you prefer, and then follow the prompts.
0 commit comments