Skip to content

Commit 9f122ed

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudio-docs-pr into mikejo-157p1
2 parents 9673e6a + acb0fd5 commit 9f122ed

File tree

289 files changed

+7364
-8082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+7364
-8082
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"build_source_folder": "docs",
3939
"build_output_subfolder": "vsdocsdocs",
4040
"locale": "en-us",
41+
"xref_query_tags": ["/dotnet"],
4142
"monikers": [],
4243
"open_to_public_contributors": true,
4344
"type_mapping": {

.openpublishing.redirection.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@
11591159
},
11601160
{
11611161
"source_path": "docs/install/install-visual-studio-in-offline-environment.md",
1162-
"redirect_url": "/visualstudio/install/install-certificates-for-visual-studio-offline",
1162+
"redirect_url": "/visualstudio/install/create-an-offline-installation-of-visual-studio",
11631163
"redirect_document_id": false
11641164
},
11651165
{
@@ -1842,6 +1842,11 @@
18421842
"redirect_url": "/visualstudio/test/unit-test-your-code",
18431843
"redirect_document_id": false
18441844
},
1845+
{
1846+
"source_path": "docs/test/lab-management/upgrade-scvmm-2008-r2-scvmm-2012.md",
1847+
"redirect_url": "/visualstudio/test/lab-management/using-a-lab-environment-for-your-application-lifecycle",
1848+
"redirect_document_id": false
1849+
},
18451850
{
18461851
"source_path": "docs/test/using-microsoft-visualstudio-testtools-cppunittestframework.md",
18471852
"redirect_url": "/visualstudio/test/microsoft.visualstudio.testtools.cppunittestframework-api-reference",
@@ -1852,6 +1857,11 @@
18521857
"redirect_url": "/visualstudio/test/writing-unit-tests-for-c-cpp",
18531858
"redirect_document_id": false
18541859
},
1860+
{
1861+
"source_path": "docs/test/writing-unit-tests-for-the-dotnet-framework-with-the-microsoft-unit-test-framework-for-managed-code.md",
1862+
"redirect_url": "/visualstudio/test/unit-test-your-code",
1863+
"redirect_document_id": false
1864+
},
18551865
{
18561866
"source_path": "docs/vb-ide/code-generation-vb.md",
18571867
"redirect_url": "/visualstudio/ide/code-generation-in-visual-studio",
@@ -2117,6 +2127,11 @@
21172127
"source_path": "docs/install/install-visual-studio-behind-a-firewall-or-proxy-server.md",
21182128
"redirect_url": "/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server",
21192129
"redirect_document_id": false
2130+
},
2131+
{
2132+
"source_path": "docs/ide/quickstart-visual-basic-winforms.md",
2133+
"redirect_url": "/visualstudio/ide/create-a-visual-basic-winform-in-visual-studio",
2134+
"redirect_document_id": false
21202135
}
21212136
]
21222137
}

docs/TOC.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@
8383
#### [Manage Assembly and Manifest Signing](ide/managing-assembly-and-manifest-signing.md)
8484
##### [Sign Application and Deployment Manifests](ide/how-to-sign-application-and-deployment-manifests.md)
8585
#### [Specify an Application Icon (Visual Basic, C#)](ide/how-to-specify-an-application-icon-visual-basic-csharp.md)
86-
#### [Target a Specific .NET Framework Version](ide/targeting-a-specific-dotnet-framework-version.md)
87-
##### [Multi-Targeting Overview](ide/visual-studio-multi-targeting-overview.md)
86+
#### [Multi-Targeting Overview](ide/visual-studio-multi-targeting-overview.md)
8887
##### [Target a Version of the .NET Framework](ide/how-to-target-a-version-of-the-dotnet-framework.md)
8988
#### [Create Project and Item Templates](ide/creating-project-and-item-templates.md)
9089
##### [Create Project Templates](ide/how-to-create-project-templates.md)
Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
11
---
2-
title: "Automatic feature suspension | Microsoft Docs"
3-
ms.custom: ""
2+
title: "Automatic feature suspension in Visual Studio | Microsoft Docs"
43
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.tgt_pltfrm: ""
84
ms.topic: "article"
9-
helpviewer_keywords:
5+
helpviewer_keywords:
106
- "full solution analysis"
117
- "performance"
128
- "low-memory"
139
ms.assetid: 572c15aa-1fd0-468c-b6be-9fa50e170914
14-
caps.latest.revision: 6
1510
author: "gewarren"
1611
ms.author: "gewarren"
1712
manager: ghogen
18-
ms.technology:
19-
- "vs-ide-code-analysis"
20-
ms.workload:
13+
ms.technology: vs-ide-code-analysis
14+
ms.workload:
2115
- "multiple"
2216
---
2317
# Automatic feature suspension
24-
If your available system memory falls to 200MB or less, Visual Studio displays the following message in the code editor.
25-
26-
![Alert text suspending full solution analysis](../code-quality/media/fsa_alert.png "FSA_Alert")
27-
28-
When Visual Studio detects a low memory condition, it automatically suspends certain advanced features to help it remain stable. When this advanced feature suspension warning appears, Visual Studio will continue to work as before, but its performance will be slightly degraded.
29-
30-
In a low memory condition, the following occurs:
31-
32-
- Full solution analysis for Visual C# and Visual Basic is disabled.
33-
34-
- [Garbage Collection](/dotnet/standard/garbage-collection/index) (GC) low-latency mode for Visual C# and Visual Basic are disabled.
35-
36-
- Visual Studio caches are flushed.
37-
38-
## Improve Visual Studio performance
39-
For tips and tricks on how to improve Visual Studio performance when dealing with large solutions or low-memory conditions, see [Performance considerations for large solutions](https://github.com/dotnet/roslyn/wiki/Performance-considerations-for-large-solutions).
40-
41-
## Full solution analysis suspended
42-
By default, full solution analysis is enabled for Visual Basic and disabled for Visual C#. However, in a low memory condition, full solution analysis is automatically disabled for both Visual Basic and Visual C#, regardless of their settings in the Options dialog box. However, you can re-enable full solution analysis by choosing the **Re-enable** button in the info bar when it appears, by selecting the **Enable full solution analysis** check box in the Options dialog, or by restarting Visual Studio. The Options dialog box always shows the current full solution analysis settings. For more information, see [How to: Enable and Disable Full Solution Analysis](../code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code.md).
43-
44-
## GC low-latency disabled
45-
To re-enable GC low-latency mode, restart Visual Studio. By default, Visual Studio enables GC low-latency mode whenever you are typing to ensure that your typing doesn't block any GC operations. However, if a low memory condition causes Visual Studio to display the automatic suspension warning, GC low-latency mode is disabled for that session. Restarting Visual Studio will re-enable the default GC behavior. For more information, see [GCLatencyMode Enumeration](http://msdn.microsoft.com/Library/057757a5-cd62-4d13-8a40-370eb7f47c87).
46-
47-
## Visual Studio caches flushed
48-
All Visual Studio caches are immediately emptied, but will begin to repopulate if you continue your current development session or restart Visual Studio. The caches flushed include caches for the following features.
49-
50-
- Find all references
51-
52-
- Navigate To
53-
54-
- Add Using
55-
56-
In addition, caches used for internal Visual Studio operations are also cleared.
57-
18+
19+
If your available system memory falls to 200 MB or less, Visual Studio displays the following message in the code editor:
20+
21+
![Alert text suspending full solution analysis](../code-quality/media/fsa_alert.png)
22+
23+
When Visual Studio detects a low memory condition, it automatically suspends certain advanced features to help it remain stable. Visual Studio continues to work as before, but its performance is degraded.
24+
25+
In a low memory condition, the following actions take place:
26+
27+
- Full solution analysis for Visual C# and Visual Basic is disabled.
28+
29+
- [Garbage Collection](/dotnet/standard/garbage-collection/index) (GC) low-latency mode for Visual C# and Visual Basic is disabled.
30+
31+
- Visual Studio caches are flushed.
32+
33+
## Improve Visual Studio performance
34+
35+
For tips and tricks on how to improve Visual Studio performance when dealing with large solutions or low-memory conditions, see [Performance considerations for large solutions](https://github.com/dotnet/roslyn/wiki/Performance-considerations-for-large-solutions).
36+
37+
## Full solution analysis suspended
38+
39+
By default, full solution analysis is enabled for Visual Basic and disabled for Visual C#. However, in a low memory condition, full solution analysis is automatically disabled for both Visual Basic and Visual C#, regardless of their settings in the Options dialog box. However, you can re-enable full solution analysis by choosing the **Re-enable** button in the info bar when it appears, by selecting the **Enable full solution analysis** check box in the Options dialog, or by restarting Visual Studio. The Options dialog box always shows the current full solution analysis settings. For more information, see [How to: Enable and Disable Full Solution Analysis](../code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code.md).
40+
41+
## GC low-latency disabled
42+
43+
To re-enable GC low-latency mode, restart Visual Studio. By default, Visual Studio enables GC low-latency mode whenever you are typing to ensure that your typing doesn't block any GC operations. However, if a low memory condition causes Visual Studio to display the automatic suspension warning, GC low-latency mode is disabled for that session. Restarting Visual Studio re-enables the default GC behavior. For more information, see <xref:System.Runtime.GCLatencyMode>.
44+
45+
## Visual Studio caches flushed
46+
47+
If you continue your current development session or restart Visual Studio, all Visual Studio caches are immediately emptied, but begin to repopulate. The caches flushed include caches for the following features:
48+
49+
- Find all references
50+
51+
- Navigate To
52+
53+
- Add Using
54+
55+
In addition, caches used for internal Visual Studio operations are also cleared.
56+
5857
> [!NOTE]
59-
> The automatic feature suspension warning occurs only once on a per-solution basis, not on a per-session basis. This means that if you switch from Visual Basic to Visual C# (or vice-versa) and run into another low memory condition, you can possibly get another automatic feature suspension warning.
60-
61-
## See Also
62-
[How to: Enable and Disable Full Solution Analysis](../code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code.md)
63-
[Fundamentals of Garbage Collection](/dotnet/standard/garbage-collection/fundamentals)
64-
[Performance considerations for large solutions](https://github.com/dotnet/roslyn/wiki/Performance-considerations-for-large-solutions)
58+
> The automatic feature suspension warning occurs only once on a per-solution basis, not on a per-session basis. This means that if you switch from Visual Basic to Visual C# (or vice-versa) and run into another low memory condition, you can possibly get another automatic feature suspension warning.
59+
60+
## See also
61+
62+
- [How to: Enable and Disable Full Solution Analysis](../code-quality/how-to-enable-and-disable-full-solution-analysis-for-managed-code.md)
63+
- [Fundamentals of Garbage Collection](/dotnet/standard/garbage-collection/fundamentals)
64+
- [Performance considerations for large solutions](https://github.com/dotnet/roslyn/wiki/Performance-considerations-for-large-solutions)

docs/code-quality/ca1064-exceptions-should-be-public.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ms.workload:
3636
## Rule Description
3737
An internal exception is only visible inside its own internal scope. After the exception falls outside the internal scope, only the base exception can be used to catch the exception. If the internal exception is inherited from <xref:System.Exception>, <xref:System.SystemException>, or <xref:System.ApplicationException>, the external code will not have sufficient information to know what to do with the exception.
3838

39-
But, if the code has a public exception that later is used as the base for a internal exception, it is reasonable to assume the code further out will be able to do something intelligent with the base exception. The public exception will have more information than what is provided by T:System.Exception, T:System.SystemException, or T:System.ApplicationException.
39+
But, if the code has a public exception that later is used as the base for a internal exception, it is reasonable to assume the code further out will be able to do something intelligent with the base exception. The public exception will have more information than what is provided by <xref:System.Exception>, <xref:System.SystemException>, or <xref:System.ApplicationException>.
4040

4141
## How to Fix Violations
4242
Make the exception public, or derive the internal exception from a public exception that is not <xref:System.Exception>, <xref:System.SystemException>, or <xref:System.ApplicationException>.
@@ -47,4 +47,4 @@ ms.workload:
4747
## Example
4848
This rule fires on the first example method, FirstCustomException because the exception class derives directly from Exception and is internal. The rule does not fire on the SecondCustomException class because although the class also derives directly from Exception, the class is declared public. The third class also does not fire the rule because it does not derive directly from <xref:System.Exception?displayProperty=fullName>, <xref:System.SystemException?displayProperty=fullName>, or <xref:System.ApplicationException?displayProperty=fullName>.
4949

50-
[!code-csharp[FxCop.Design.ExceptionsShouldBePublic.CA1064#1](../code-quality/codesnippet/CSharp/ca1064-exceptions-should-be-public_1.cs)]
50+
[!code-csharp[FxCop.Design.ExceptionsShouldBePublic.CA1064#1](../code-quality/codesnippet/CSharp/ca1064-exceptions-should-be-public_1.cs)]

0 commit comments

Comments
 (0)