Skip to content

Commit abf7070

Browse files
committed
Merge remote-tracking branch 'MicrosoftDocs/master'
2 parents 614eb5f + 3d6587e commit abf7070

File tree

155 files changed

+2168
-1544
lines changed

Some content is hidden

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

155 files changed

+2168
-1544
lines changed

.openpublishing.redirection.json

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"redirect_document_id": false
1212
},
1313
{
14-
1514
"source_path": "docs/extensibility/shell/walkthrough-creating-a-basic-isolated-shell-application.md",
1615
"redirect_url": "https://vspartner.com/pages/vsshells",
1716
"redirect_document_id": false
@@ -22,7 +21,6 @@
2221
"redirect_document_id": false
2322
},
2423
{
25-
2624
"source_path": "docs/extensibility/shell/extending-the-isolated-shell.md",
2725
"redirect_url": "https://vspartner.com/pages/vsshells",
2826
"redirect_document_id": false
@@ -99,19 +97,29 @@
9997
},
10098
{
10199
"source_path": "docs/code-quality/code-analysis-rule-set-reference.md",
102-
"redirect_url": "/visualstudio/code-quality/managed-minimun-rules-rule-set-for-managed-code",
100+
"redirect_url": "/visualstudio/code-quality/rule-set-reference",
103101
"redirect_document_id": false
104102
},
105103
{
106104
"source_path": "docs/code-quality/creating-and-using-code-analysis-check-in-policies.md",
107105
"redirect_url": "/visualstudio/code-quality/how-to-create-or-update-standard-code-analysis-check-in-policies",
108106
"redirect_document_id": false
109107
},
108+
{
109+
"source_path": "docs/code-quality/creating-custom-code-analysis-rule-sets.md",
110+
"redirect_url": "/visualstudio/code-quality/how-to-create-a-custom-rule-set",
111+
"redirect_document_id": false
112+
},
110113
{
111114
"source_path": "docs/code-quality/enhancing-code-quality-with-team-project-check-in-policies.md",
112115
"redirect_url": "/visualstudio/code-quality/how-to-create-or-update-standard-code-analysis-check-in-policies",
113116
"redirect_document_id": false
114117
},
118+
{
119+
"source_path": "docs/code-quality/how-to-specify-managed-code-rule-sets-for-multiple-projects-in-a-solution.md",
120+
"redirect_url": "/visualstudio/code-quality/how-to-configure-code-analysis-for-a-managed-code-project",
121+
"redirect_document_id": false
122+
},
115123
{
116124
"source_path": "docs/code-quality/how-to-suppress-warnings-by-using-the-menu-item.md",
117125
"redirect_url": "/visualstudio/code-quality/in-source-suppression-overview",
@@ -137,6 +145,11 @@
137145
"redirect_url": "/visualstudio/code-quality/in-source-suppression-overview",
138146
"redirect_document_id": false
139147
},
148+
{
149+
"source_path": "docs/code-quality/walkthrough-configuring-and-using-a-custom-rule-set.md",
150+
"redirect_url": "/visualstudio/code-quality/how-to-create-a-custom-rule-set",
151+
"redirect_document_id": false
152+
},
140153
{
141154
"source_path": "docs/cross-platform/visual-studio-tools-for-apache-cordova.md",
142155
"redirect_url": "/visualstudio/cross-platform/tools-for-cordova/",
@@ -2212,6 +2225,32 @@
22122225
"source_path": "subscriptions/vscloud-cancel.md",
22132226
"redirect_url": "/visualstudio/subscriptions/vscloud-overview",
22142227
"redirect_document_id": false
2228+
},
2229+
{
2230+
"source_path": "subscriptions/renew-msstore-subscriptions.md",
2231+
"redirect_url": "http://www.visualstudio.com/vs/pricing/",
2232+
"redirect_document_id": false
2233+
},
2234+
{
2235+
"source_path": "subscriptions/find-subscription-id.md",
2236+
"redirect_url": "/visualstudio/subscriptions/find-pcn",
2237+
"redirect_document_id": false
2238+
},
2239+
{
2240+
"source_path": "subscriptions/multiple-pcns.md",
2241+
"redirect_url": "/visualstudio/subscriptions/find-pcn",
2242+
"redirect_document_id": false
2243+
},
2244+
{
2245+
"source_path": "subscriptions/managing-admins.md",
2246+
"redirect_url": "/visualstudio/subscriptions/subscription-management-info",
2247+
"redirect_document_id": false
2248+
},
2249+
{
2250+
"source_path": "subscriptions/access-admin-portal.md",
2251+
"redirect_url": "/visualstudio/subscriptions/subscription-management-info",
2252+
"redirect_document_id": false
22152253
}
2254+
22162255
]
22172256
}

connected-environment/get-started-netcore-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud - Step 1 - Install tools | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
5-
ms.date: "02/20/2018"
5+
ms.date: "04/05/2018"
66
ms.topic: "get-started-article"
77
ms.technology: "vsce-kubernetes"
88
description: "Rapid Kubernetes development with containers and microservices on Azure"

connected-environment/get-started-netcore-visualstudio-01.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 1 - Install tools | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
5-
ms.date: "02/20/2018"
5+
ms.date: "04/05/2018"
66
ms.topic: "get-started-article"
77
ms.technology: "vsce-kubernetes"
88
description: "Rapid Kubernetes development with containers and microservices on Azure"
@@ -23,8 +23,6 @@ In this guide, you will learn how to:
2323
## Install the Connected Environment CLI
2424
Connected Environment requires minimal local machine setup. Most of your development environment's configuration gets stored in the cloud, and is shareable with other users.
2525

26-
1. Install [Git for Windows](https://git-scm.com/downloads), select the default install options.
27-
1. Download **kubectl.exe** from [this link](https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/windows/amd64/kubectl.exe) and **save** it to a location on your PATH.
2826
1. Download and run the [Connected Environment CLI Installer](https://aka.ms/get-vsce-windows).
2927

3028
## Get Kubernetes Debugging Tools
@@ -39,4 +37,4 @@ While you can use the Connected Environment CLI as a standalone tool, rich featu
3937
We're now ready to Create an ASP.NET web app with Visual Studio.
4038

4139
> [!div class="nextstepaction"]
42-
> [Create an ASP.NET web app](get-started-netcore-visualstudio-02.md)
40+
> [Create an ASP.NET web app](get-started-netcore-visualstudio-02.md)

connected-environment/get-started-netcore-visualstudio-06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 6 - Learn about team development | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
5-
ms.date: "02/20/2018"
5+
ms.date: "04/05/2018"
66
ms.topic: "get-started-article"
77
ms.technology: "vsce-kubernetes"
88
description: "Rapid Kubernetes development with containers and microservices on Azure"

connected-environment/get-started-netcore-visualstudio-07.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a .NET Core development environment with containers using Kubernetes in the cloud with Visual Studio - Step 7 - Summary | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
5-
ms.date: "02/20/2018"
5+
ms.date: "04/05/2018"
66
ms.topic: "get-started-article"
77
ms.technology: "vsce-kubernetes"
88
description: "Rapid Kubernetes development with containers and microservices on Azure"

connected-environment/get-started-nodejs-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a Node.js development environment with containers using Kubernetes in the cloud - Step 1 - Install tools | Microsoft Docs"
33
author: "johnsta"
44
ms.author: "johnsta"
5-
ms.date: "02/20/2018"
5+
ms.date: "04/05/2018"
66
ms.topic: "get-started-article"
77
ms.technology: "vsce-kubernetes"
88
description: "Rapid Kubernetes development with containers and microservices on Azure"

connected-environment/includes/install-cli-and-vscode.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ curl -L https://aka.ms/get-vsce-mac | bash
88
```
99

1010
### Install on Windows
11-
1. Install [Git for Windows](https://git-scm.com/downloads), select the default install options.
12-
1. Download **kubectl.exe** from [this link](https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/windows/amd64/kubectl.exe) and **save** it to a location on your PATH.
1311
1. Download and run the [Connected Environment CLI Installer](https://aka.ms/get-vsce-windows).
1412

1513
### Install on Linux
@@ -23,5 +21,5 @@ While you can use the Connected Environment CLI as a standalone tool, rich featu
2321
1. Install the extension:
2422

2523
```cmd
26-
code --install-extension path-to-downloaded-extension/vsce-0.1.0.vsix
24+
code --install-extension path-to-downloaded-extension/vsce-0.1.1.vsix
2725
```

docs/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
## [Python: Create a Web App](ide/quickstart-python.md)
5454
## [Node.js: Create a Web App](ide/quickstart-nodejs.md)
5555
## [C#: Create a Web App](ide/quickstart-aspnet-core.md)
56+
## [C#: Create a UWP App](ide/quickstart-uwp-csharp.md)
5657
## [Visual Basic: Create a Console App](ide/quickstart-visual-basic-console.md)
5758
# Tutorials
5859
## [C++ in Visual Studio...](/cpp/build/vscpp-step-0-installation)

docs/ai/index.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Visual Studio Tools for AI
44
metadata:
55
document_id: 83ceabb5-fb4f-a709-3fd2-37d024409f31
66
title: Visual Studio Tools for AI | Microsoft Docs
7-
meta.description:
7+
meta.description:
88
services: ai-tools-visual-studio
99
author: lisawong19
1010
manager: routlaw
@@ -14,6 +14,7 @@ metadata:
1414
ms.topic: landing-page
1515
ms.date: 10-25-2017
1616
ms.author: liwong
17+
ms.technology: vs-ai-tools
1718
abstract:
1819
description: Visual Studio Tools for AI is an integrated development environment to build, test, and deploy deep learning solutions. Learn how to use AI Tools with our quickstarts, tutorials, and samples.
1920
sections:
@@ -23,10 +24,10 @@ sections:
2324
text: 'Learn how to run deep learning solution with:'
2425
- type: list
2526
style: icon48
26-
items:
27-
- image:
27+
items:
28+
- image:
2829
src: media/Tensorflow_logo.png
29-
text: TensorFlow and Python
30+
text: TensorFlow and Python
3031
href: tensorflow-local.md
3132
- title: Step-by-Step Tutorials
3233
items:

docs/code-quality/TOC.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
## [Analyze Managed Code for Code Defects](walkthrough-analyzing-managed-code-for-code-defects.md)
1010
## [Analyze C/C++ Code for Defects](walkthrough-analyzing-c-cpp-code-for-defects.md)
1111
### [Demo Sample](demo-sample.md)
12-
## [Configure and Use a Custom Rule Set](walkthrough-configuring-and-using-a-custom-rule-set.md)
1312
# How-to guides
1413
## Code Analysis for Managed Code
1514
### [Install Roslyn Analyzers](install-roslyn-analyzers.md)
@@ -36,24 +35,22 @@
3635
#### [Intrinsic Functions](intrinsic-functions.md)
3736
#### [Best Practices and Examples (SAL)](best-practices-and-examples-sal.md)
3837
### [Specify Additional Code Information by Using __analysis_assume](how-to-specify-additional-code-information-by-using-analysis-assume.md)
39-
## [Use Rule Sets to Group Code Analysis Rules](using-rule-sets-to-group-code-analysis-rules.md)
40-
### [Use Rule Sets for Managed Code](how-to-configure-code-analysis-for-a-managed-code-project.md)
38+
## [Rule Sets](using-rule-sets-to-group-code-analysis-rules.md)
39+
### [Rule Sets for Managed Code](how-to-configure-code-analysis-for-a-managed-code-project.md)
4140
#### [Configure Code Analysis for an ASP.NET Web Application](how-to-configure-code-analysis-for-an-aspnet-web-application.md)
42-
#### [Specify Rule Sets for Multiple Projects](how-to-specify-managed-code-rule-sets-for-multiple-projects-in-a-solution.md)
43-
### [Use Rule Sets for C++ Code](using-rule-sets-to-specify-the-cpp-rules-to-run.md)
44-
### [Synchronize Project Rule Sets with Team Project Check-in Policy](how-to-synchronize-code-project-rule-sets-with-team-project-check-in-policy.md)
45-
### [Create Custom Rule Sets](creating-custom-code-analysis-rule-sets.md)
46-
#### [Create a Custom Rule Set](how-to-create-a-custom-rule-set.md)
47-
#### [Use the Rule Set Editor](working-in-the-code-analysis-rule-set-editor.md)
48-
## [Create Code Analysis Check-in Policies](how-to-create-or-update-standard-code-analysis-check-in-policies.md)
41+
### [Rule Sets for C++ Code](using-rule-sets-to-specify-the-cpp-rules-to-run.md)
42+
### [Create a Custom Rule Set](how-to-create-a-custom-rule-set.md)
43+
### [Use the Rule Set Editor](working-in-the-code-analysis-rule-set-editor.md)
44+
## [Check-in Policies](how-to-create-or-update-standard-code-analysis-check-in-policies.md)
4945
### [Implement Custom Code Analysis Check-in Policies for Managed Code](implementing-custom-code-analysis-check-in-policies-for-managed-code.md)
5046
### [Enforce Maintainable Code](how-to-enforce-maintainable-code-with-a-code-analysis-check-in-policy.md)
47+
### [Synchronize Project Rule Sets with Team Check-in Policy](how-to-synchronize-code-project-rule-sets-with-team-project-check-in-policy.md)
5148
### [Version Compatibility](version-compatibility-for-code-analysis-check-in-policies.md)
5249
## Code Metrics
5350
### [Generate Code Metrics Data](how-to-generate-code-metrics-data.md)
5451
### [Work with Code Metrics Data](working-with-code-metrics-data.md)
5552
# Reference
56-
## Rule sets
53+
## [Rule sets](rule-set-reference.md)
5754
### [All Rules rule set](all-rules-rule-set.md)
5855
### [Basic Correctness Rules rule set for managed code](basic-correctness-rules-rule-set-for-managed-code.md)
5956
### [Basic Design Guideline Rules rule set for managed code](basic-design-guideline-rules-rule-set-for-managed-code.md)

docs/code-quality/ca0062.md

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
11
---
22
title: "CA0062 | Microsoft Docs"
3-
ms.custom: ""
43
ms.date: "10/20/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.technology:
8-
- "vs-ide-code-analysis"
9-
ms.tgt_pltfrm: ""
10-
ms.topic: "article"
11-
f1_keywords:
4+
ms.technology: vs-ide-code-analysis
5+
ms.topic: reference
6+
f1_keywords:
127
- "CA0062"
138
ms.assetid: 6031bfc3-82e0-4d91-b8e8-cd325a099001
14-
caps.latest.revision: 9
159
author: "gewarren"
1610
ms.author: "gewarren"
1711
manager: ghogen
18-
ms.workload:
12+
ms.workload:
1913
- "multiple"
2014
---
2115
# CA0062
22-
The rule '*RuleId*' referenced in rule set '*RuleSetName*' could not be found.
23-
24-
This error indicates that the specified rule could not be found.
25-
26-
This error usually occurs because a ruleset file was edited by hand. To avoid this error, use the [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] rule set editor to specify rules. For more information, see [Creating Custom Rule Sets](../code-quality/creating-custom-code-analysis-rule-sets.md).
27-
28-
To resolve this issue, make sure that all the check ids that are specified in your ruleset file are valid. if you are using nonstandard rule files, make and that the appropriate rule hint paths are specified in your ruleset file.
29-
30-
## See Also
31-
[Code Analysis Application Errors](../code-quality/code-analysis-application-errors.md)
16+
17+
The rule '*RuleId*' referenced in rule set '*RuleSetName*' could not be found.
18+
19+
This error indicates that the specified rule couldn't be found.
20+
21+
This error usually occurs because a rule set file was edited by hand. To avoid this error, you can use the Visual Studio [rule set editor](../code-quality/working-in-the-code-analysis-rule-set-editor.md) to configure code analysis rules.
22+
23+
To resolve this issue, make sure that all the check IDs that are specified in your *.ruleset* file are valid. if you are using a non-standard rule set file, make sure that the appropriate rule hint paths are specified in the file.
24+
25+
## See also
26+
27+
- [Code Analysis Application Errors](../code-quality/code-analysis-application-errors.md)

docs/code-quality/ca0064.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
11
---
22
title: "CA0064 | Microsoft Docs"
3-
ms.custom: ""
43
ms.date: "10/19/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.technology:
8-
- "vs-ide-code-analysis"
9-
ms.tgt_pltfrm: ""
10-
ms.topic: "article"
11-
f1_keywords:
4+
ms.technology: vs-ide-code-analysis
5+
ms.topic: reference
6+
f1_keywords:
127
- "CA0064"
138
ms.assetid: 6f41ed9d-a690-47dc-8922-631e8530297b
14-
caps.latest.revision: 9
159
author: "gewarren"
1610
ms.author: "gewarren"
1711
manager: ghogen
18-
ms.workload:
12+
ms.workload:
1913
- "multiple"
2014
---
2115
# CA0064
22-
No analysis was performed because the specified rule set did not contain any FxCop rules.
23-
24-
This warning can occur in one of the following situations:
25-
26-
- If you encounter this warning in conjunction with CA0063 warnings, there was an a problem loading your ruleset file. For more information, see the [CA0063](ca0063.md) documentation.
27-
28-
- If you encountered this error in conjunction with CA0062 warnings, it most likely that Code Analysis was unable to find the assembly or assemblies that contain the rules specified by the ruleset. For more information, see the [CA0062](ca0062.md) documentation.
29-
30-
- Otherwise, this warning usually occurs when your ruleset is empty or all of the rule enabled in child ruleset have been disabled. Use the [!INCLUDE[vs_current_short](../code-quality/includes/vs_current_short_md.md)] ruleset editor to enable some rules in your ruleset. For more information, see [Creating Custom Rule Sets](../code-quality/creating-custom-code-analysis-rule-sets.md).
31-
32-
## See Also
33-
[Code Analysis Application Errors](../code-quality/code-analysis-application-errors.md)
16+
17+
No analysis was performed because the specified rule set did not contain any FxCop rules.
18+
19+
This warning can occur in one of the following situations:
20+
21+
- If you encounter this warning in conjunction with CA0063 warnings, there was an a problem loading your ruleset file. For more information, see the [CA0063](ca0063.md) documentation.
22+
23+
- If you encounter this error in conjunction with CA0062 warnings, it most likely that Code Analysis was unable to find the assembly or assemblies that contain the rules specified by the ruleset. For more information, see the [CA0062](ca0062.md) documentation.
24+
25+
- Otherwise, this warning usually occurs when your ruleset is empty or all of the rules enabled in a child rule set have been disabled. Use the Visual Studio [rule set editor](../code-quality/working-in-the-code-analysis-rule-set-editor.md) to enable some rules in your ruleset.
26+
27+
## See also
28+
29+
- [Code Analysis Application Errors](../code-quality/code-analysis-application-errors.md)

docs/code-quality/code-analysis-for-managed-code-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ You can run code analysis on your project manually or automatically.
2828

2929
To run code analysis each time that you build a project, select **Enable Code Analysis on Build** on the project's Property Page. For more information, see [How to: Enable and Disable Automatic Code Analysis](../code-quality/how-to-enable-and-disable-automatic-code-analysis-for-managed-code.md).
3030

31-
To run code analysis manually on a project, from the menu bar choose **Analyze** > **Run Code Analysis** > **Run Code Analysis on <project>**. For more information, see [How to: Enable and Disable Automatic Code Analysis](../code-quality/how-to-enable-and-disable-automatic-code-analysis-for-managed-code.md).
31+
To run code analysis manually on a project, from the menu bar choose **Analyze** > **Run Code Analysis** > **Run Code Analysis on \<project>**.
3232

3333
## Rule sets
3434

35-
Code analysis rules for managed code are grouped into *rule sets*. You can use one of the Microsoft standard rule sets, or you can create a custom rule set to fulfill a specific need. For more information, see [Using Rule Sets to Group Code Analysis Rules](../code-quality/using-rule-sets-to-group-code-analysis-rules.md).
35+
Code analysis rules for managed code are grouped into [rule sets](../code-quality/using-rule-sets-to-group-code-analysis-rules.md). You can use one of the Microsoft standard rule sets, or you can [create a custom rule set](../code-quality/how-to-create-a-custom-rule-set.md) to fulfill a specific need.
3636

3737
## Suppress warnings
3838

@@ -51,7 +51,7 @@ Public class MyClass
5151
For more information, see [Suppress warnings](../code-quality/in-source-suppression-overview.md).
5252

5353
> [!NOTE]
54-
> If you migrate a project to Visual Studio 2017, you might suddenly be faced with an overwhelming number of code analysis warnings. If you aren't ready to fix the warnings and want to temporarily turn code analysis off, open the project's property pages (**Project** > ***project* Properties...**) and go to the **Code Analysis** tab. Deselect **Enable Code Analysis on Build**, and then rebuild your project. Alternatively, you can select a different, smaller rule set to run against the code. Remember to turn code analysis back on when you are ready to fix the warnings.
54+
> If you migrate a project to Visual Studio 2017, you might suddenly be faced with a large number of code analysis warnings. If you aren't ready to fix the warnings and want to become productive right away, you can *baseline* the analysis state of your project. From the **Analyze** menu, select **Run Code Analysis and Suppress Active Issues**.
5555
5656
## Run code analysis as part of check-in policy
5757

0 commit comments

Comments
 (0)