Skip to content

Commit 994a2ba

Browse files
Merge pull request #12479 from Mikejo5000/mikejo-br23
Clarify VS version support for Microsoft.CodeCoverage.Console tool
2 parents c5b46c7 + 95306da commit 994a2ba

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/test/microsoft-code-coverage-console-tool.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Microsoft.CodeCoverage.Console tool
33
description: Use the Microsoft.CodeCoverage.Console tool to collect code coverage for C++ and C# code in nontest scenarios, and merge and convert code coverage reports.
4-
ms.date: 12/05/2023
4+
ms.date: 04/10/2024
55
ms.topic: conceptual
66
ms.author: mikejo
77
manager: mijacobs
@@ -14,6 +14,9 @@ Microsoft.CodeCoverage.Console is a command-line tool. You can use it to collect
1414

1515
Microsoft.CodeCoverage.Console is available in Visual Studio 2022 17.3 under folder `Common7\IDE\Extensions\Microsoft\CodeCoverage.Console`. You can use it in a Developer Command Prompt and a Developer PowerShell:
1616

17+
>[!NOTE]
18+
> The tool is available only with Visual Studio Enterprise. For .NET code coverage, you can alternatively use the command-line tool, [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage).
19+
1720
```console
1821
C:\Program Files\Microsoft Visual Studio\2022\Enterprise> Microsoft.CodeCoverage.Console --help
1922
Description:

docs/test/using-code-coverage-to-determine-how-much-code-is-being-tested.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ Code coverage option is available under the Test menu when you run test methods
2626

2727
The code coverage feature is available only in Visual Studio Enterprise edition.
2828

29+
>[!NOTE]
30+
> For .NET code coverage, you can alternatively use the command-line tool, [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage).
31+
2932
## Analyze code coverage
3033

3134
1. On the **Test** menu, select **Analyze Code Coverage for All Tests**.

0 commit comments

Comments
 (0)