From e15bf3e2d184525de4666fd84eda29adac25c7d3 Mon Sep 17 00:00:00 2001 From: "Mike Jones (DOCS)" Date: Tue, 28 Jan 2025 15:28:47 -0800 Subject: [PATCH 1/6] Clarify and edit article on Microsoft.CodeCoverage.Console --- docs/test/microsoft-code-coverage-console-tool.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/test/microsoft-code-coverage-console-tool.md b/docs/test/microsoft-code-coverage-console-tool.md index b0aae9860d8..6dd3a74e42e 100644 --- a/docs/test/microsoft-code-coverage-console-tool.md +++ b/docs/test/microsoft-code-coverage-console-tool.md @@ -1,7 +1,7 @@ --- title: Microsoft.CodeCoverage.Console tool 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. -ms.date: 09/16/2024 +ms.date: 01/28/2025 ms.topic: conceptual ms.author: mikejo manager: mijacobs @@ -11,15 +11,17 @@ monikerRange: '>= vs-2022' --- # Microsoft.CodeCoverage.Console tool -Microsoft.CodeCoverage.Console is a command-line tool. You can use it to collect code coverage for C++ and C# code. It supports also merging and converting code coverage reports. This tool can be used to collect code coverage in non-test scenarios (for example, for a simple console application). +Microsoft.CodeCoverage.Console is a command-line tool that you can use to collect code coverage for C++ and C# code. It also supports merging and converting code coverage reports. This tool can be used to collect code coverage in non-test scenarios (for example, for a simple console application). -Microsoft.CodeCoverage.Console is available in Visual Studio 2022 17.3 under the folder `Common7\IDE\Extensions\Microsoft\CodeCoverage.Console`. You can use it in a Developer Command Prompt and a Developer PowerShell: +This tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool that adds support for collecting code coverage for C++ code. Additionally, Microsoft.CodeCoverage.Console supports security features to enable collecting ASP.NET code coverage data from IIS. >[!NOTE] > 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). +Microsoft.CodeCoverage.Console is available in Visual Studio 2022 17.3 under the folder `Common7\IDE\Extensions\Microsoft\CodeCoverage.Console`. You can use it in a Developer Command Prompt and a Developer PowerShell: + ```console -C:\Program Files\Microsoft Visual Studio\2022\Enterprise> Microsoft.CodeCoverage.Console --help +D:\ConsoleApplication\x64\Debug> Microsoft.CodeCoverage.Console --help Description: Code coverage tools. From 854c1d430217b7f2fcb964740fcd90d37af445c7 Mon Sep 17 00:00:00 2001 From: "Mike Jones (DOCS)" Date: Tue, 28 Jan 2025 15:47:06 -0800 Subject: [PATCH 2/6] Added more info and links --- docs/test/microsoft-code-coverage-console-tool.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/test/microsoft-code-coverage-console-tool.md b/docs/test/microsoft-code-coverage-console-tool.md index 6dd3a74e42e..a819d3adca7 100644 --- a/docs/test/microsoft-code-coverage-console-tool.md +++ b/docs/test/microsoft-code-coverage-console-tool.md @@ -75,7 +75,7 @@ Microsoft.CodeCoverage.Console instrument * **`-s|--settings `** - Sets the path to the XML code coverage settings. + Sets the path to the XML code coverage settings. The settings file can be used to exclude some modules or methods from code coverage analysis. The format is the same as the data collector configuration inside a *.runsettings* file. For more information, see [Customize code coverage analysis](../test/customizing-code-coverage-analysis.md). * **`-id|--session-id `** @@ -131,6 +131,8 @@ Hello World! Code coverage results: output.coverage. ``` +The settings file can be used to exclude some modules or methods from code coverage analysis. The format is the same as the data collector configuration inside a *.runsettings* file. For more information, see [Customize code coverage analysis](../test/customizing-code-coverage-analysis.md). + ### Code coverage using instrument and collect commands Before collecting code coverage data, first instrument the binary as follows: From 9c280b7df882d4579eccfad6f2d1eec879549394 Mon Sep 17 00:00:00 2001 From: "Mike Jones (DOCS)" Date: Tue, 28 Jan 2025 15:50:44 -0800 Subject: [PATCH 3/6] edits --- docs/test/microsoft-code-coverage-console-tool.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/test/microsoft-code-coverage-console-tool.md b/docs/test/microsoft-code-coverage-console-tool.md index a819d3adca7..e987d83b8e1 100644 --- a/docs/test/microsoft-code-coverage-console-tool.md +++ b/docs/test/microsoft-code-coverage-console-tool.md @@ -110,7 +110,7 @@ D:\ConsoleApplication\x64\Debug> .\ConsoleApplication.exe Hello World! ``` -### Code coverage using collect command with configuration file +### Code coverage using collect command with configuration file (C++) If you don't want to use the `instrument` command, you can instead use a configuration file to specify the files to instrument, as follows: @@ -133,7 +133,7 @@ Code coverage results: output.coverage. The settings file can be used to exclude some modules or methods from code coverage analysis. The format is the same as the data collector configuration inside a *.runsettings* file. For more information, see [Customize code coverage analysis](../test/customizing-code-coverage-analysis.md). -### Code coverage using instrument and collect commands +### Code coverage using instrument and collect commands (C++) Before collecting code coverage data, first instrument the binary as follows: @@ -151,7 +151,7 @@ Hello World! Code coverage results: output.coverage. ``` -### Code coverage using instrument command and collect command in server mode +### Code coverage using instrument command and collect command in server mode (C++) Using this method, you can separate code coverage collection from running your application. First, instrument your binary as follows: From 535e664f8b9382c33869d4b4710d9fb8c762a906 Mon Sep 17 00:00:00 2001 From: "Mike Jones (DOCS)" Date: Tue, 28 Jan 2025 15:54:35 -0800 Subject: [PATCH 4/6] edits --- docs/test/microsoft-code-coverage-console-tool.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/test/microsoft-code-coverage-console-tool.md b/docs/test/microsoft-code-coverage-console-tool.md index e987d83b8e1..75105f098e0 100644 --- a/docs/test/microsoft-code-coverage-console-tool.md +++ b/docs/test/microsoft-code-coverage-console-tool.md @@ -13,7 +13,10 @@ monikerRange: '>= vs-2022' Microsoft.CodeCoverage.Console is a command-line tool that you can use to collect code coverage for C++ and C# code. It also supports merging and converting code coverage reports. This tool can be used to collect code coverage in non-test scenarios (for example, for a simple console application). -This tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool that adds support for collecting code coverage for C++ code. Additionally, Microsoft.CodeCoverage.Console supports security features to enable collecting ASP.NET code coverage data from IIS. +This tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool that adds support for the following scenarios: + +- Adds security features to enable collecting ASP.NET code coverage data from IIS. +- Collecting code coverage for C++ code. >[!NOTE] > 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). @@ -21,7 +24,8 @@ This tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/do Microsoft.CodeCoverage.Console is available in Visual Studio 2022 17.3 under the folder `Common7\IDE\Extensions\Microsoft\CodeCoverage.Console`. You can use it in a Developer Command Prompt and a Developer PowerShell: ```console -D:\ConsoleApplication\x64\Debug> Microsoft.CodeCoverage.Console --help +D:\ConsoleApplication\x64\Debug>Microsoft.CodeCoverage.Console --help + Description: Code coverage tools. From d28d4368b85e9162d9054cb6ce9b2a167b4d2917 Mon Sep 17 00:00:00 2001 From: "Mike Jones (DOCS)" Date: Tue, 28 Jan 2025 16:05:20 -0800 Subject: [PATCH 5/6] typo fix --- docs/test/microsoft-code-coverage-console-tool.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/test/microsoft-code-coverage-console-tool.md b/docs/test/microsoft-code-coverage-console-tool.md index 75105f098e0..612277cf325 100644 --- a/docs/test/microsoft-code-coverage-console-tool.md +++ b/docs/test/microsoft-code-coverage-console-tool.md @@ -13,7 +13,7 @@ monikerRange: '>= vs-2022' Microsoft.CodeCoverage.Console is a command-line tool that you can use to collect code coverage for C++ and C# code. It also supports merging and converting code coverage reports. This tool can be used to collect code coverage in non-test scenarios (for example, for a simple console application). -This tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool that adds support for the following scenarios: +This tool is an extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool that adds support for the following scenarios: - Adds security features to enable collecting ASP.NET code coverage data from IIS. - Collecting code coverage for C++ code. @@ -49,7 +49,7 @@ Commands: ## Collect, connect, shutdown, merge, snapshot, and uninstrument commands -The Microsoft.CodeCoverage.Console tool is extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool. The documentation for collect, connect, shutdown, merge, snapshot, and uninstrument commands can be found [here](/dotnet/core/additional-tools/dotnet-coverage). +The Microsoft.CodeCoverage.Console tool is an extension to the [dotnet-coverage](/dotnet/core/additional-tools/dotnet-coverage) dotnet tool. The documentation for collect, connect, shutdown, merge, snapshot, and uninstrument commands can be found [here](/dotnet/core/additional-tools/dotnet-coverage). Microsoft.CodeCoverage.Console supports additional security features to enable collecting ASP.NET code coverage data from IIS. Additionally, the Microsoft.CodeCoverage.Console tool supports collecting code coverage for C++ code. The `instrument` command is specific to these scenarios. From 2fbc7d3bce4f49785b75137f6be9bd4f8ff58769 Mon Sep 17 00:00:00 2001 From: JoseB-RDC <181013562+JoseB-RDC@users.noreply.github.com> Date: Wed, 29 Jan 2025 09:05:53 -0800 Subject: [PATCH 6/6] Update assign-license-bulk.md Updated the videos as they were reversed. --- subscriptions/assign-license-bulk.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subscriptions/assign-license-bulk.md b/subscriptions/assign-license-bulk.md index a8dc030ddad..9de551cf309 100644 --- a/subscriptions/assign-license-bulk.md +++ b/subscriptions/assign-license-bulk.md @@ -16,7 +16,7 @@ To add large groups of users, you can use the bulk add feature, or if your organ ## Use Bulk add to assign subscriptions -> [!VIDEO https://medius.microsoft.com/Embed/video-nc/6e8cd58e-548b-4019-9b36-ec6462c0666b?r=499726314265] +> [!VIDEO https://medius.microsoft.com/Embed/video-nc/3bf6504c-8d82-4466-b6fb-93d46fdf9b17?r=553875033020] ## Follow these steps to use the Bulk add feature: @@ -91,7 +91,7 @@ Using this feature makes it easy to stay on top of your subscription assignments ## Watch this video or read on to learn more about adding subscribers using the Microsoft Entra group feature. -> [!VIDEO https://medius.microsoft.com/Embed/video-nc/3bf6504c-8d82-4466-b6fb-93d46fdf9b17?r=553875033020] +> [!VIDEO https://medius.microsoft.com/Embed/video-nc/6e8cd58e-548b-4019-9b36-ec6462c0666b?r=499726314265] 1. Sign in to the Visual Studio Subscriptions Admin Portal at [https://manage.visualstudio.com](https://manage.visualstudio.com).