Skip to content

Commit 74b90d6

Browse files
authored
Merge pull request #1 from MicrosoftDocs/master
merge from docs master
2 parents 105b322 + cb5047c commit 74b90d6

File tree

2,002 files changed

+6859
-2224
lines changed

Some content is hidden

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

2,002 files changed

+6859
-2224
lines changed

.openpublishing.redirection.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41985,9 +41985,24 @@
4198541985
"redirect_url": "/dotnet/fundamentals/code-analysis/code-quality-rule-options",
4198641986
"redirect_document_id": false
4198741987
},
41988+
{
41989+
"source_path": "docs/code-quality/install-fxcop-analyzers.md",
41990+
"redirect_url": "/visualstudio/code-quality/install-net-analyzers",
41991+
"redirect_document_id": false
41992+
},
4198841993
{
4198941994
"source_path": "docs/code-quality/fxcop-analyzers.yml",
41990-
"redirect_url": "/visualstudio/code-quality/migrate-from-legacy-analysis-to-fxcop-analyzers",
41995+
"redirect_url": "/visualstudio/code-quality/migrate-from-legacy-analysis-to-net-analyzers",
41996+
"redirect_document_id": false
41997+
},
41998+
{
41999+
"source_path": "docs/code-quality/fxcop-analyzers-faq.md",
42000+
"redirect_url": "/visualstudio/code-quality/net-analyzers-faq",
42001+
"redirect_document_id": false
42002+
},
42003+
{
42004+
"source_path": "docs/code-quality/migrate-from-legacy-analysis-to-fxcop-analyzers.md",
42005+
"redirect_url": "/visualstudio/code-quality/migrate-from-legacy-analysis-to-net-analyzers",
4199142006
"redirect_document_id": false
4199242007
},
4199342008
{

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome! This repo contains source files for the Visual Studio technical documentation. The topics are published on [docs.microsoft.com](https://docs.microsoft.com/visualstudio).
44

5-
This repo was moved on June 23, 2017 from https://github.com/Microsoft/vsdocs. Traffic to the old URLs is redirected here.
5+
This repo was moved on June 23, 2017 from https://github.com/Microsoft/vsdocs.
66

77
The documentation for Visual Basic and Visual C# is located in the [dotnet docs repo](https://github.com/dotnet/docs/tree/master/docs), and the Visual C++ documentation is located in the [C++ docs repo](https://github.com/MicrosoftDocs/cpp-docs).
88

docs/azure/azure-app-insights-add-connected-service.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Add Azure Application Insights by using Connected Services | Microsoft Do
33
description: Add Azure Application Insights to your app by using the Visual Studio to add a connected service
44
author: AngelosP
55
manager: jillfra
6-
76
ms.workload: azure-vs
87
ms.topic: conceptual
98
ms.date: 08/17/2020

docs/azure/azure-cache-for-redis-add-connected-service.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Add Azure Cache for Redis by using Connected Services | Microsoft Docs
33
description: Add Azure Cache for Redis support to your app by using the Visual Studio to add a connected service
44
author: AngelosP
55
manager: jillfra
6-
76
ms.workload: azure-vs
87
ms.topic: conceptual
98
ms.date: 08/17/2020

docs/azure/azure-cosmosdb-add-connected-service.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Add Azure CosmosDB by using Connected Services | Microsoft Docs
33
description: Add Azure CosmosDB support to your app by using the Visual Studio to add a connected service
44
author: AngelosP
55
manager: jillfra
6-
76
ms.workload: azure-vs
87
ms.topic: conceptual
98
ms.date: 08/17/2020

docs/azure/azure-signalr-add-connected-service.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Add Azure SignalR by using Connected Services | Microsoft Docs
33
description: Add Azure SignalR to your app by using the Visual Studio to add a connected service
44
author: AngelosP
55
manager: jillfra
6-
76
ms.workload: azure-vs
87
ms.topic: conceptual
98
ms.date: 08/17/2020

docs/azure/azure-sql-database-add-connected-service.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Add a connection to Azure SQL Database | Microsoft Docs
33
description: Add Azure SQL Database connection to your app by using the Visual Studio Connected Services
44
author: AngelosP
55
manager: jillfra
6-
76
ms.workload: azure-vs
87
ms.topic: conceptual
98
ms.date: 08/17/2020

docs/azure/includes/create-aspnet5-app.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ms.author: ghogen
88
ms.topic: "include"
99
ms.date: 05/21/2018
1010
ms.custom: "include file"
11-
1211
---
1312

1413
1. In the Visual Studio menu, select **File** > **New** > **Project**.

docs/azure/vs-azure-tools-access-private-azure-clouds-with-visual-studio.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Accessing private Azure clouds
33
description: Learn how to access private cloud resources by using Visual Studio.
44
author: ghogen
55
manager: jillfra
6-
assetId: 9d733c8d-703b-44e7-a210-bb75874c45c8
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 11/13/2017

docs/azure/vs-azure-tools-azure-project-create.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Create an Azure cloud service project
33
description: Learn now to create an Azure cloud service project with Visual Studio
44
author: ghogen
55
manager: jillfra
6-
assetId: ec580df7-3dcc-45a9-a1d9-8c110678dfb5
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 03/19/2019

docs/azure/vs-azure-tools-cloud-service-project-managing-roles.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Managing roles in Azure cloud services
33
description: Learn how to add and remove roles in Azure cloud services with Visual Studio.
44
author: ghogen
55
manager: jillfra
6-
assetId: 5ec9ae2e-8579-4e5d-999e-8ae05b629bd1
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 03/21/2017

docs/azure/vs-azure-tools-cloud-service-publish-set-up-required-services-in-visual-studio.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Prepare to publish or deploy a Cloud Service
33
description: Learn the procedures to set up cloud and storage account services and configure your Azure application.
44
author: ghogen
55
manager: jillfra
6-
ms.assetid: 92ee2f9e-ec49-4c7a-900d-620abe5e9d8a
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 11/10/2017

docs/azure/vs-azure-tools-cloud-service-retain-a-constant-virtual-ip-address.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: Learn how to ensure that the virtual IP address (VIP) of your Azure
44
ms.custom: SEO-VS-2020
55
author: ghogen
66
manager: jillfra
7-
assetId: 4a58e2c6-7a79-4051-8a2c-99182ff8b881
87
ms.workload: azure-vs
98
ms.topic: how-to
109
ms.date: 03/21/2017

docs/azure/vs-azure-tools-command-line-build.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Command-line build for Azure | Microsoft Docs
33
description: Command-line build for Azure
44
author: ghogen
55
manager: jillfra
6-
assetId: 94b35d0d-0d35-48b6-b48b-3641377867fd
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 03/05/2017

docs/azure/vs-azure-tools-configure-roles-for-cloud-service.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Configure the roles for an Azure cloud service
33
description: Learn how to set up and configure roles for Azure cloud services using Visual Studio.
44
author: ghogen
55
manager: jillfra
6-
assetId: d397ef87-64e5-401a-aad5-7f83f1022e16
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 03/21/2017

docs/azure/vs-azure-tools-configuring-an-azure-project.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Configure an Azure cloud service project
33
description: Learn how to configure an Azure cloud service project in Visual Studio, depending on your requirements for that project.
44
author: ghogen
55
manager: jillfra
6-
assetId: 609d6965-05cc-47b1-82dc-c76a92d4f295
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 03/06/2017

docs/azure/vs-azure-tools-connected-services-storage.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Add Azure Storage by using Connected Services | Microsoft Docs
33
description: Add an Azure Storage service dependency to your app by using the Visual Studio Connected Services
44
author: ghogen
55
manager: jillfra
6-
assetId: 521ec044-ad4b-4828-8864-01decde2e758
76
ms.custom: vs-azure
87
ms.workload: azure-vs
98
ms.topic: how-to

docs/azure/vs-azure-tools-debug-cloud-services-virtual-machines.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ title: Debugging an Azure cloud service or virtual machine
33
description: Debugging a Cloud Service or Virtual Machine in Visual Studio
44
author: mikejo5000
55
manager: jillfra
6-
ms.assetid: 945e06e0-2100-41af-b218-72347367ddab
76
ms.topic: how-to
8-
97
ms.workload: azure-vs
108
ms.date: 11/11/2016
119
ms.author: mikejo

docs/azure/vs-azure-tools-debugging-cloud-services-overview.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Options for debugging Azure cloud services | Microsoft Docs
33
description: Debugging Azure cloud services
44
author: mikejo5000
55
manager: jillfra
6-
ms.assetid: 80755da7-8350-4f5c-97ce-2962beabb36d
76
ms.topic: conceptual
87
ms.workload: azure-vs
98
ms.date: 03/18/2017

docs/azure/vs-azure-tools-diagnostics-for-cloud-services-and-virtual-machines.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ms.custom: SEO-VS-2020
44
description: Learn how to set up diagnostics for debugging Azure cloud services and virtual machines (VMs) in Visual Studio.
55
author: ghogen
66
manager: jillfra
7-
ms.assetid: e70cd7b4-6298-43aa-adea-6fd618414c26
87
ms.topic: conceptual
98
ms.workload: azure-vs
109
ms.date: 06/28/2018

docs/azure/vs-azure-tools-emulator-express-debug-run.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ms.custom: SEO-VS-2020
44
description: Using Emulator Express to run and debug a cloud service on a local machine
55
author: mikejo5000
66
manager: jillfra
7-
ms.assetid: 73108f98-a552-4817-b7a1-551367b71906
87
ms.topic: how-to
98
ms.workload: azure-vs
109
ms.date: 03/06/2017

docs/azure/vs-azure-tools-intellitrace-debug-published-cloud-services.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ms.custom: SEO-VS-2020
44
description: Learn how to debug a cloud service with Visual Studio and IntelliTrace
55
author: mikejo5000
66
manager: jillfra
7-
ms.assetid: 5e6662fc-b917-43ea-bf2b-4f2fc3d213dc
87
ms.topic: how-to
98
ms.workload: azure-vs
109
ms.date: 03/21/2017

docs/azure/vs-azure-tools-migrate-publish-web-app-to-cloud-service.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: Learn how to migrate and publish your web application to an Azure c
44
ms.custom: SEO-VS-2020
55
author: ghogen
66
manager: jillfra
7-
ms.assetid: 9394adfd-a645-4664-9354-dd5df08e8c91
8-
97
ms.workload: azure-vs
108
ms.topic: how-to
119
ms.date: 11/10/2017

docs/azure/vs-azure-tools-multiple-services-project-configurations.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: Learn how to configure an Azure cloud service project by changing t
44
ms.custom: SEO-VS-2020
55
author: ghogen
66
manager: jillfra
7-
assetId: a4fb79ed-384f-4183-9f74-5cac257206b9
8-
97
ms.workload: azure-vs
108
ms.topic: how-to
119
ms.date: 11/11/2017

docs/azure/vs-azure-tools-optimizing-azure-code-in-visual-studio.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ title: Optimizing your Azure code
33
description: Learn about how Azure code optimization tools in Visual Studio help make your code more robust and better-performing.
44
author: ghogen
55
manager: jillfra
6-
ms.assetid: ed48ee06-e2d2-4322-af22-07200fb16987
76
ms.topic: conceptual
8-
97
ms.workload: azure-vs
108
ms.date: 11/11/2016
119
ms.author: ghogen

docs/azure/vs-azure-tools-performance-profiling-cloud-services.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Testing the performance of a cloud service | Microsoft Docs
33
description: Test the performance of a cloud service using the Visual Studio profiler
44
author: mikejo5000
55
manager: jillfra
6-
ms.assetid: 7a5501aa-f92c-457c-af9b-92ea50914e24
76
ms.topic: conceptual
87
ms.workload: azure-vs
98
ms.date: 11/11/2016

docs/azure/vs-azure-tools-publish-azure-application-wizard.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Publish an Azure cloud service
33
description: Learn how to configure the various settings in the Visual Studio Publish Azure Application Wizard
44
author: ghogen
55
manager: jillfra
6-
assetId: 7d8f1ac9-e439-47e0-a183-0642c4ea1920
7-
86
ms.workload: azure-vs
97
ms.topic: how-to
108
ms.date: 03/21/2017

docs/azure/vs-azure-tools-publish-webapplicationvm.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Publish-WebApplicationVM | Microsoft Docs
33
description: Learn how to deploy a web application to a virtual machine. This script creates the required resources in your Azure subscription if they don't exist.
44
author: ghogen
55
manager: jillfra
6-
assetId: de4cec95-f73f-44d9-babd-9f47f2633cdb
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 11/11/2016

docs/azure/vs-azure-tools-publish-webapplicationwebsite-windows-powershell-script.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: Learn how to publish a web project to an Azure website. This script
44
ms.custom: SEO-VS-2020
55
author: ghogen
66
manager: jillfra
7-
assetId: 63cfaa2d-f04d-40dc-8677-345385c278d5
8-
97
ms.workload: azure-vs
108
ms.topic: conceptual
119
ms.date: 11/11/2016

docs/azure/vs-azure-tools-publishing-a-cloud-service.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Publishing a Cloud Service using the Azure Tools | Microsoft Docs
33
description: Learn about how to publish Azure cloud service projects by using Visual Studio.
44
author: ghogen
55
manager: jillfra
6-
assetId: 1a07b6e4-3678-4cbf-b37e-4520b402a3d9
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 11/11/2017

docs/azure/vs-azure-tools-publishing-using-powershell-scripts.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: Learn how to use Windows PowerShell scripts from Visual Studio to p
44
ms.custom: SEO-VS-2020
55
author: ghogen
66
manager: jillfra
7-
assetId: 5fff1301-5469-4d97-be88-c85c30f837c1
87
ms.workload: azure-vs
98
ms.topic: conceptual
109
ms.date: 11/11/2016

docs/azure/vs-azure-tools-resources-managing-with-cloud-explorer.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Managing Azure resources with Cloud Explorer | Microsoft Docs
33
description: Learn how to use Cloud Explorer to browse and manage Azure resources within Visual Studio.
44
author: ghogen
55
manager: jillfra
6-
assetId: 6347dc53-f497-49d5-b29b-e8b9f0e939d7
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 03/25/2017

docs/azure/vs-azure-tools-service-configurations-and-profiles-how-to-manage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: How to manage service configurations and profiles | Microsoft Docs
33
description: Learn how to work with service configurations and profiles configuration files| which store settings for the deployment environments and publish settings for cloud services.
44
author: ghogen
55
manager: jillfra
6-
assetId: 7da8c551-fb06-4057-b5c7-c77f4b39d803
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 8/11/2017

docs/azure/vs-azure-tools-setting-up-named-authentication-credentials.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Set up named authentication credentials | Microsoft Docs
33
description: 'Learn how to provide credentials that Visual Studio can use to authenticate requests to Azure, so you can publish an application to Azure from Visual Studio or monitor an existing cloud service.'
44
author: ghogen
55
manager: jillfra
6-
assetId: 61570907-42a1-40e8-bcd6-952b21a55786
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 11/11/2017

docs/azure/vs-azure-tools-storage-resources-server-explorer-browse-manage.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: Browsing and managing storage resources by using Server Explorer
44
ms.custom: SEO-VS-2020
55
author: ghogen
66
manager: jillfra
7-
assetId: 658dc064-4a4e-414b-ae5a-a977a34c930d
8-
97
ms.workload: azure-vs
108
ms.topic: conceptual
119
ms.date: 8/24/2017

docs/azure/vs-azure-tools-table-designer-construct-filter-strings.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Constructing filter strings for the table designer | Microsoft Docs
33
description: Constructing filter strings for the table designer
44
author: ghogen
55
manager: jillfra
6-
assetId: a1a10ea1-687a-4ee1-a952-6b24c2fe1a22
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 11/18/2016

docs/azure/vs-azure-tools-upgrade-projects-to-the-current-version-of-the-azure-tools.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Upgrade projects to current version of Azure tools
33
description: Learn how to upgrade an Azure project in Visual Studio to the current version of the Azure tools
44
author: ghogen
55
manager: jillfra
6-
assetId: 1d64070a-078d-468a-87f4-e6715de6475f
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 11/18/2016

docs/azure/vs-azure-tools-virtual-machines-access-from-server-explorer.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Accessing Azure Virtual Machines from Server Explorer | Microsoft Docs
33
description: Get an overview of how to view create and manage Azure virtual machines (VMs) in Server Explorer in Visual Studio.
44
author: ghogen
55
manager: jillfra
6-
assetId: eb3afde6-ba90-4308-9ac1-3cc29da4ede0
7-
86
ms.workload: azure-vs
97
ms.topic: conceptual
108
ms.date: 8/31/2017

docs/code-quality/analyzers-faq.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ In addition to rule sets and EditorConfig files, some analyzers are configured t
5757

5858
**Q**: What's the difference between legacy analysis and .NET Compiler Platform-based code analysis?
5959

60-
**A**: .NET Compiler Platform-based code analysis analyzes source code in real time and during compilation, whereas legacy analysis analyzes binary files after build has completed. For more information, see [.NET Compiler Platform-based analysis versus legacy analysis](../code-quality/fxcop-analyzers-faq.md#whats-the-difference-between-legacy-fxcop-and-fxcop-analyzers).
60+
**A**: .NET Compiler Platform-based code analysis analyzes source code in real time and during compilation, whereas legacy analysis analyzes binary files after build has completed. For more information, see [.NET Compiler Platform-based analysis versus legacy analysis](../code-quality/net-analyzers-faq.md#whats-the-difference-between-legacy-fxcop-and-net-analyzers).
61+
62+
## FxCop analyzers versus .NET analyzers
63+
64+
**Q**: What's the difference between FxCop analyzers and .NET analyzers?
65+
66+
**A**: Both FxCop analyzers and .NET analyzers refers to the .NET Compiler Platform ("Roslyn") analyzer implementations of FxCop CA rules. Prior to Visual Studio 2019 16.8 and .NET 5.0, these analyzers shipped as `Microsoft.CodeAnalysis.FxCopAnalyzers` [NuGet package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.FxCopAnalyzers). Starting in Visual Studio 2019 16.8 and .NET 5.0, these analyzers are [included with the .NET SDK](/dotnet/fundamentals/code-analysis/overview). They are also available as `Microsoft.CodeAnalysis.NetAnalyzers` [NuGet package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers). Please consider [migrating from FxCop analyzers to .NET analyzers](migrate-from-fxcop-analyzers-to-net-analyzers.md).
6167

6268
## Treat warnings as errors
6369

@@ -75,20 +81,20 @@ In addition to rule sets and EditorConfig files, some analyzers are configured t
7581
</Project>
7682
```
7783

78-
2. Add a line to your .csproj or .vbproj project file to import the .props file you created in the previous step. This line must be placed before any lines that import the FxCop analyzer .props files. For example, if your .props file is named codeanalysis.props:
84+
2. Add a line to your .csproj or .vbproj project file to import the .props file you created in the previous step. This line must be placed before any lines that import the analyzer .props files. For example, if your .props file is named codeanalysis.props:
7985

8086
```xml
8187
...
8288
<Import Project="..\..\codeanalysis.props" Condition="Exists('..\..\codeanalysis.props')" />
83-
<Import Project="..\packages\Microsoft.CodeAnalysis.FxCopAnalyzers.2.6.5\build\Microsoft.CodeAnalysis.FxCopAnalyzers.props" Condition="Exists('..\packages\Microsoft.CodeAnalysis.FxCopAnalyzers.2.6.5\build\Microsoft.CodeAnalysis.FxCopAnalyzers.props')" />
89+
<Import Project="..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.0\build\Microsoft.CodeAnalysis.NetAnalyzers.props" Condition="Exists('..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.0\build\Microsoft.CodeAnalysis.NetAnalyzers.props')" />
8490
...
8591
```
8692

8793
## Code analysis solution property page
8894

8995
**Q**: Where is the Code Analysis property page for the solution?
9096

91-
**A**: The Code Analysis property page at the solution level was removed in favor of the more reliable shared property group. For managing Code Analysis at the project level, the Code Analysis property page is still available. (For managed projects, we also recommend migrating from rulesets to EditorConfig for rule configuration.) For sharing rulesets across multiple/all projects in a solution or a repo, we recommend defining a property group with CodeAnalysisRuleSet property in a shared props/targets file or Directory.props/Directory.targets file. If you don't have any such common props or targets that all your projects import, you should consider [adding such a property group to a Directory.props or a Directory.targets at a top level solution directory, which is automatically imported in all project files defined in the directory or its sub-directories](../msbuild/customize-your-build.md).
97+
**A**: The Code Analysis property page at the solution level was removed in favor of the more reliable shared property group. For managing Code Analysis at the project level, the Code Analysis property page is still available. (For managed projects, we also recommend migrating from rulesets to EditorConfig for rule configuration.) For sharing rulesets across multiple/all projects in a solution or a repo, we recommend defining a property group with [CodeAnalysisRuleSet](../code-quality/using-rule-sets-to-group-code-analysis-rules.md#specify-a-rule-set-for-a-project) property in a shared props/targets file or *Directory.props/Directory.targets* file. If you don't have any such common props or targets that all your projects import, you should consider adding such a property group to a [Directory.props or a Directory.targets file](../msbuild/customize-your-build.md) at a top level solution directory, which is automatically imported in all project files defined in the directory or its sub-directories.
9298

9399
## See also
94100

0 commit comments

Comments
 (0)