Skip to content

Commit 01c3c9d

Browse files
authored
Merge pull request #4920 from MicrosoftDocs/master
6/25/2019 AM Publish
2 parents 34807a6 + 9eced24 commit 01c3c9d

16 files changed

+67
-88
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7855,6 +7855,11 @@
78557855
"redirect_url": "/visualstudio/subscriptions",
78567856
"redirect_document_id": false
78577857
},
7858+
{
7859+
"source_path": "subscriptions/vs-opsgility.md",
7860+
"redirect_url": "/visualstudio/subscriptions",
7861+
"redirect_document_id": false
7862+
},
78587863
{
78597864
"source_path": "subscriptions/leave-vsde.md",
78607865
"redirect_url": "/visualstudio/subscriptions/join-dev-essentials",

docs/code-quality/ca1801-review-unused-parameters.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "CA1801: Review unused parameters"
3-
ms.date: 11/04/2016
3+
ms.date: 06/24/2019
44
ms.topic: reference
55
f1_keywords:
66
- "AvoidUnusedParameters"
@@ -26,7 +26,10 @@ ms.workload:
2626
|Breaking Change|Non Breaking - If the member is not visible outside the assembly, regardless of the change you make.<br /><br /> Non Breaking - If you change the member to use the parameter within its body.<br /><br /> Breaking - If you remove the parameter and it is visible outside the assembly.|
2727

2828
## Cause
29-
A method signature includes a parameter that is not used in the method body. This rule does not examine the following methods:
29+
30+
A method signature includes a parameter that's not used in the method body.
31+
32+
This rule does not examine the following kinds of methods:
3033

3134
- Methods referenced by a delegate.
3235

@@ -41,24 +44,33 @@ ms.workload:
4144
- Methods declared with the `extern` (`Declare` statement in Visual Basic) modifier.
4245

4346
## Rule description
44-
Review parameters in non-virtual methods that are not used in the method body to make sure no correctness exists around failure to access them. Unused parameters incur maintenance and performance costs.
4547

46-
Sometimes a violation of this rule can point to an implementation bug in the method. For example, the parameter should have been used in the method body. Suppress warnings of this rule if the parameter has to exist because of backward compatibility.
48+
Review parameters in non-virtual methods that are not used in the method body to make sure no correctness exists around failure to access them. Unused parameters incur maintenance and performance costs.
49+
50+
Sometimes a violation of this rule can point to an implementation bug in the method. For example, the parameter should have been used in the method body. Suppress warnings of this rule if the parameter has to exist because of backward compatibility.
4751

4852
## How to fix violations
49-
To fix a violation of this rule, remove the unused parameter (a breaking change) or use the parameter in the method body (a non-breaking change).
53+
54+
To fix a violation of this rule, remove the unused parameter (a breaking change) or use the parameter in the method body (a non-breaking change).
5055

5156
## When to suppress warnings
52-
It is safe to suppress a warning from this rule for previously shipped code for which the fix would be a breaking change.
57+
58+
It is safe to suppress a warning from this rule:
59+
60+
- For previously shipped code for which the fix would be a breaking change.
61+
62+
- For the `this` parameter in a custom extension method for <xref:Microsoft.VisualStudio.TestTools.UnitTesting.Assert?displayProperty=nameWithType>. The functions in the <xref:Microsoft.VisualStudio.TestTools.UnitTesting.Assert> class are static, so there's no need to access the `this` parameter in the method body.
5363

5464
## Example
55-
The following example shows two methods. One method violates the rule and the other method satisfies the rule.
5665

57-
[!code-csharp[FxCop.Usage.ReviewUnusedParameters#1](../code-quality/codesnippet/CSharp/ca1801-review-unused-parameters_1.cs)]
66+
The following example shows two methods. One method violates the rule and the other method satisfies the rule.
67+
68+
[!code-csharp[FxCop.Usage.ReviewUnusedParameters#1](../code-quality/codesnippet/CSharp/ca1801-review-unused-parameters_1.cs)]
5869

5970
## Related rules
60-
[CA1811: Avoid uncalled private code](../code-quality/ca1811-avoid-uncalled-private-code.md)
6171

62-
[CA1812: Avoid uninstantiated internal classes](../code-quality/ca1812-avoid-uninstantiated-internal-classes.md)
72+
[CA1811: Avoid uncalled private code](../code-quality/ca1811-avoid-uncalled-private-code.md)
73+
74+
[CA1812: Avoid uninstantiated internal classes](../code-quality/ca1812-avoid-uninstantiated-internal-classes.md)
6375

64-
[CA1804: Remove unused locals](../code-quality/ca1804-remove-unused-locals.md)
76+
[CA1804: Remove unused locals](../code-quality/ca1804-remove-unused-locals.md)

docs/debugger/using-breakpoints.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ To visually trace breakpoints during code execution, see [Map methods on the cal
138138

139139
4. Add the following to the **Function Name** box, and select **C++** language.
140140

141-
```C++
142-
((my_class *) 0xcccccccc)->my_method
143-
```
141+
```cpp
142+
((my_class *) 0xcccccccc)->my_method
143+
```
144144

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

@@ -161,7 +161,7 @@ Data breakpoints in .NET Core won't work for:
161161
- Properties that are not expandable in the tooltip, Locals, Autos, or Watch window
162162
- Static variables
163163
- Classes with the DebuggerTypeProxy Attribute
164-
- Fields inside of structs
164+
- Fields inside of structs
165165

166166
::: moniker-end
167167

@@ -183,11 +183,12 @@ Data breakpoints don't work under the following conditions:
183183
- A process that is not being debugged writes to the memory location.
184184
- The memory location is shared between two or more processes.
185185
- The memory location is updated within the kernel. For example, if memory is passed to the 32-bit Windows `ReadFile` function, the memory will be updated from kernel mode, so the debugger won't break on the update.
186+
- Where the watch expression is larger than 4 bytes on 32-bit hardware and 8 bytes on 64-bit hardware. This is a limitation of the x86 architecture.
186187

187-
>[!NOTE]
188-
>- Data breakpoints depend on specific memory addresses. The address of a variable changes from one debugging session to the next, so data breakpoints are automatically disabled at the end of each debugging session.
188+
> [!NOTE]
189+
> - Data breakpoints depend on specific memory addresses. The address of a variable changes from one debugging session to the next, so data breakpoints are automatically disabled at the end of each debugging session.
189190
>
190-
>- If you set a data breakpoint on a local variable, the breakpoint remains enabled when the function ends, but the memory address is no longer applicable, so the behavior of the breakpoint is unpredictable. If you set a data breakpoint on a local variable, you should delete or disable the breakpoint before the function ends.
191+
> - If you set a data breakpoint on a local variable, the breakpoint remains enabled when the function ends, but the memory address is no longer applicable, so the behavior of the breakpoint is unpredictable. If you set a data breakpoint on a local variable, you should delete or disable the breakpoint before the function ends.
191192
192193
## <a name="BKMK_Specify_advanced_properties_of_a_breakpoint_"></a> Manage breakpoints in the Breakpoints window
193194

docs/extensibility/how-to-provide-an-asynchronous-visual-studio-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If you want to obtain a service without blocking the UI thread, you should creat
6868
await TaskScheduler.Default;
6969
// do background operations that involve IO or other async methods
7070
71-
await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
71+
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
7272
// query Visual Studio services on main thread unless they are documented as free threaded explicitly.
7373
// The reason for this is the final cast to service interface (such as IVsShell) may involve COM operations to add/release references.
7474
Loading

docs/ide/quickstart-python.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@ You're now ready to add a bit of Python code to implement a minimal web app.
173173
![Setting the startup file for a project in Solution Explorer](media/quickstart-python-05-set-as-startup-file-2019.png)
174174
::: moniker-end
175175

176-
1. Right-click *app.py* in **Solution Explorer** and select **Set as startup file**. This command identifies the code file to launch in Python when running the app.
177-
178176
2. Right-click the project in **Solution Explorer** and select **Properties**. Then select the **Debug** tab and set the **Port Number** property to `4449`. This step ensures that Visual Studio launches a browser with `localhost:4449` to match the `app.run` arguments in the code.
179177

180178
3. Select **Debug > Start Without Debugging** (**Ctrl**+**F5**), which saves changes to files and runs the app.

docs/install/create-a-network-installation-of-visual-studio.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,10 @@ We have other support options available, too. For a list, see our [Feedback](../
261261
262262
## See also
263263
264-
* [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md)
265-
* [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md)
266-
* [Visual Studio product lifecycle and servicing](/visualstudio/releases/2019/servicing/)
267-
* [Visual Studio administrator guide](visual-studio-administrator-guide.md)
268-
* [Use command-line parameters to install Visual Studio](use-command-line-parameters-to-install-visual-studio.md)
269-
* [Visual Studio workload and component IDs](workload-and-component-ids.md)
264+
- [Visual Studio administrator guide](visual-studio-administrator-guide.md)
265+
- [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md)
266+
- [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md)
267+
- [Visual Studio product lifecycle and servicing](/visualstudio/releases/2019/servicing/)
268+
- [Update Visual Studio while on a servicing baseline](update-servicing-baseline.md)
269+
- [Use command-line parameters to install Visual Studio](use-command-line-parameters-to-install-visual-studio.md)
270+
- [Visual Studio workload and component IDs](workload-and-component-ids.md)

docs/install/create-an-offline-installation-of-visual-studio.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ c:\vslayout\vs_community.exe --add Microsoft.VisualStudio.Workload.ManagedDeskto
176176
## See also
177177

178178
- [Create a network installation of Visual Studio](../install/create-a-network-installation-of-visual-studio.md)
179+
- [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md)
179180
- [Install certificates required for Visual Studio offline installation](../install/install-certificates-for-visual-studio-offline.md)
180181
- [Use command-line parameters to install Visual Studio](use-command-line-parameters-to-install-visual-studio.md)
181182
- [Visual Studio workload and component IDs](workload-and-component-ids.md)

docs/install/modify-visual-studio.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Modify Visual Studio"
33
titleSuffix: ""
44
description: "Learn how to modify Visual Studio, step-by-step."
55
ms.custom: "H1Hack27Feb2017,seodec18"
6-
ms.date: 03/30/2018
6+
ms.date: 06/25/2019
77
ms.topic: conceptual
88
helpviewer_keywords:
99
- "modify Visual Studio"
@@ -40,7 +40,10 @@ Here's how.
4040
Workloads contain the features you need for the programming language or platform that you are using. Use workloads to modify Visual Studio so that it supports the work you want to do, when you want to do it.
4141

4242
>[!IMPORTANT]
43-
>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).
43+
>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).
44+
45+
>[!TIP]
46+
> The following procedure assumes that you have an internet connection. For more information about how to modify a previously created [offline installation](create-an-offline-installation-of-visual-studio.md) of Visual Studio, see the [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md) page.
4447
4548
::: moniker range="vs-2017"
4649

@@ -116,4 +119,6 @@ If you don't want to install workloads to customize your Visual Studio installat
116119

117120
* [Update Visual Studio](update-visual-studio.md)
118121
* [Update a network-based installation of Visual Studio](update-a-network-installation-of-visual-studio.md)
122+
* [Update Visual Studio while on a servicing baseline](update-servicing-baseline.md)
123+
* [Control updates to network-based Visual Studio deployments](controlling-updates-to-visual-studio-deployments.md)
119124
* [Uninstall Visual Studio](uninstall-visual-studio.md)

docs/install/using-visual-studio-vm.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Using Visual Studio on an Azure Virtual Machine"
33
titleSuffix: ""
44
description: "Learn how to use Visual Studio on an Azure Virtual Machine"
5-
ms.date: 05/23/2019
5+
ms.date: 06/24/2019
66
ms.custom: "seodec18"
77
ms.topic: conceptual
88
helpviewer_keywords:
@@ -30,10 +30,10 @@ Images for the most recent major versions, Visual Studio 2019, Visual Studio 201
3030

3131
| Release version | Editions | Product version |
3232
|:--------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------:|:-----------------------:|
33-
| [Visual Studio 2019: Latest (Version 16.1)](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio2019latest?tab=Overview) | Enterprise, Community | Version 16.1.0 |
34-
| [Visual Studio 2019: RTW](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio2019?tab=Overview) | Enterprise, Community | Version 16.0.4 |
35-
| [Visual Studio 2017: Latest (Version 15.9)](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio?tab=Overview) | Enterprise, Community | Version 15.9.12 |
36-
| [Visual Studio 2017: RTW](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio?tab=Overview) | Enterprise, Community | Version 15.0.23 |
33+
| [Visual Studio 2019: Latest (Version 16.1)](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio2019latest?tab=Overview) | Enterprise, Community | Version 16.1.3 |
34+
| [Visual Studio 2019: RTW](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio2019?tab=Overview) | Enterprise, Community | Version 16.0.5 |
35+
| [Visual Studio 2017: Latest (Version 15.9)](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio?tab=Overview) | Enterprise, Community | Version 15.9.13 |
36+
| [Visual Studio 2017: RTW](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio?tab=Overview) | Enterprise, Community | Version 15.0.24 |
3737
| [Visual Studio 2015: Latest (Update 3)](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftvisualstudio.visualstudio?tab=Overview) | Enterprise, Community | Version 14.0.25431.01 |
3838

3939
> [!NOTE]

docs/install/workload-component-id-vs-build-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To install these components using the manual installer, download and run the [Bu
3434

3535
[!INCLUDE[workloads-components-header-2019_md](includes/workloads-components-header-2019_md.md)]
3636

37-
To install these components using the manual installer, download and run the [Build Tools for Visual Studio](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019).
37+
To install these components by using the manual installer, download and run the [Build Tools for Visual Studio](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019).
3838

3939
[!INCLUDE[Visual Studio Build Tools 2019](includes/vs-2019/workload-component-id-vs-build-tools.md)]
4040

Loading
Binary file not shown.
Binary file not shown.

subscriptions/manage-vs-subscriptions.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Manage Visual Studio Subscriptions
33
author: evanwindom
4-
ms.author: jaunger
5-
manager: evelynp
6-
ms.date: 10/03/2017
4+
ms.author: lank
5+
manager: lank
6+
ms.date: 06/24/2019
77
ms.topic: conceptual
88
description: Learn how to get the most out of your Visual Studio subscriptions
99
searchscope: VS Subscription
@@ -119,6 +119,12 @@ You can easily change the contact information and preferences in your profile.
119119
> [!div class="mx-imgBorder"]
120120
> ![Editing Profile Information](_img/manage-vs-subscriptions/edit-profile-resized.png)
121121
122+
### Setting communications preferences
123+
If you would like to receive periodic updates about your subscription and benefits, including the monthly Visual Studio Subscriptions newsletter, [update your preferences](https://app.vsaex.visualstudio.com/me?workflowID=devprogram&tab=edit) by checking the box for Visual Studio Subscriptions in your Visual Studio profile. You can change these preferences and unsubscribe at any time.
124+
125+
> [!div class="mx-imgBorder"]
126+
> ![Setting Preferences](_img/manage-vs-subscriptions/change-prefs.png)
127+
122128
### Linking my subscription to existing Azure DevOps Services or Azure subscriptions
123129

124130
If you sign in to your subscription using a personal Microsoft account (MSA) and have a subscription that includes Azure DevOps Services or Microsoft Azure using a work or school account managed by Azure, you can link the two subscriptions. This is called an "alternate account" and allows you to keep using your MSA to sign in to your subscription while having access to existing Azure, Azure DevOps Services or IDE resources that are associated with your school or work accounts.

0 commit comments

Comments
 (0)