Skip to content

Commit bdeb8a3

Browse files
Merge pull request #10719 from MicrosoftDocs/main638805351076862125sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 120724e + 8c8c03a commit bdeb8a3

File tree

5 files changed

+59
-50
lines changed

5 files changed

+59
-50
lines changed

docs/debugger/how-to-start-spy-increment.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,49 @@
11
---
2-
title: Start the Spy++ tool to debug a solution
2+
title: Start the Spy++ Tool to Debug a Solution
33
description: Explore the Spy++ tool in Visual Studio for debugging a solution and start the tool from the integrated development environment (IDE) or from a command prompt.
4-
ms.date: 02/05/2024
4+
ms.date: 04/17/2025
55
ms.topic: how-to
66
helpviewer_keywords:
77
- Spy++, starting
88
author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: debug-diagnostics
12+
#customer intent: As a developer, I want to use the Spy++ tool in Visual Studio so I can debug my solution.
1213
---
1314

1415
# Start Spy++
1516

1617
You can start Spy++ either from Visual Studio or at a command prompt.
1718

18-
When you start Spy++, if a message is displayed to ask permission to make changes to the computer, select **Yes**.
19+
When you start Spy++, if a message appears requesting permission to make changes to the computer, select **Yes**.
1920

2021
> [!NOTE]
21-
> You can run only one instance of Spy++. If you try to start a second instance, it just causes the currently running instance to get the focus.
22+
> You can run only one instance of Spy++. If you try to start a second instance, the current running instance gets the focus.
2223
2324
## Prerequisites
2425

25-
Spy++ requires the following components. You can select these components from the Visual Studio Installer by selecting the **Individual Components** tab, and then selecting the following components.
26+
Spy++ requires the following components. You can select these components from the Visual Studio Installer by selecting the **Individual Components** tab, and then selecting the following components:
2627

27-
* Under Debugging and testing, select **C++ profiling tools**
28-
* Under Development activities, select **C++ core features**
28+
* Under **Debugging and testing**, select **C++ profiling tools**.
29+
* Under **Development activities**, select **C++ core features**.
2930

30-
If you made any changes, follow the prompts to install these components.
31+
If you make any changes in the Visual Studio Installer, follow the prompts to complete installation of these components.
3132

3233
## Start Spy++ from Visual Studio
3334

3435
On the **Tools** menu, select **Spy++**.
3536

36-
Because Spy++ runs independently, after you start it you can close Visual Studio.
37+
Because Spy++ runs independently, after you start the tool, you can close Visual Studio.
3738

3839
> [!NOTE]
39-
> When you log messages with Spy++, it might cause the operating system to perform more slowly.
40+
> When you log messages with Spy++, you might notice the operating system performing more slowly.
4041
4142
## Start Spy++ at a command prompt
4243

43-
1. In a Command Prompt window, change directories to the folder that contains spyxx.exe. Typically, the path to this folder is ..\\*Visual Studio installation folder*\Common7\Tools\\.
44+
1. Open a Command Prompt window, and change directories to the folder that contains the *spyxx.exe* file. Typically, the path to this folder is *..\\\<Visual Studio installation folder>\Common7\Tools\\*.
4445

45-
2. Enter *spyxx.exe* or, for the 64-bit version, *spyxx_amd64.exe*.
46+
1. Enter *spyxx.exe* or, for the 64-bit version, enter *spyxx_amd64.exe*.
4647

4748
For more information on the 32-bit and 64-bit version of Spy++, see [64-bit operating systems](introducing-spy-increment.md#64-bit-operating-systems).
4849

docs/ide/not-in-toc/default.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,9 @@ manager: mijacobs
112112
author: mikejo5000
113113
ms.author: mikejo
114114
---
115-
# Oops! No `F1` help match was found
115+
# No `F1` help match was found
116116

117-
## Now what?
118-
119-
We're sorry! It looks like we couldn't find what you were looking for.
117+
It looks like we couldn't find what you were looking for.
120118

121119
**Looking for `F1` help on a window, a keyword, or an API name?**
122120
- **Try your favorite search engine [Recommended]**

docs/test/create-a-unit-test-project.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,45 @@
11
---
2-
title: Create a unit test project
2+
title: Create a Unit Test Project
33
description: Learn how to create a unit test project. The test project can be in the same solution as the production code, or it can be in a separate solution.
4-
ms.date: 02/22/2023
4+
ms.date: 04/17/2025
55
ms.topic: how-to
66
ms.author: mikejo
77
manager: mijacobs
88
ms.subservice: test-tools
99
author: mikejo5000
10+
#customer intent: As a developer, I want to create unit test projects in Visual Studio so I can run unit tests on project code in my solution.
1011
---
1112
# Create a unit test project
1213

13-
Unit tests often mirror the structure of the code under test. For example, a unit test project would be created for each code project in the product. The test project can be in the same solution as the production code, or it can be in a separate solution. You can have multiple unit test projects in a solution.
14+
Unit tests often mirror the structure of the code under test. For example, a unit test project might be created for each code project in the product. The test project can be in the same solution as the production code, or it can be in a separate solution. You can have multiple unit test projects in a solution.
1415

1516
> [!NOTE]
16-
> The location of unit tests for native code and the test project structure can be different than the structure that's described in this article. For more information, see [Writing unit tests for C/C++](writing-unit-tests-for-c-cpp.md).
17+
> The location of unit tests for native code and the test project structure can be different from the structure described in this article. For more information, see [Writing unit tests for C/C++](writing-unit-tests-for-c-cpp.md).
1718
1819
## To create a unit test project
1920

2021
1. On the **File** menu, select **New** > **Project**, or press **Ctrl**+**Shift**+**N**.
2122

22-
2. On the **Create a new project** page, type **unit test** into the search box. Select the project template for the test framework that you want to use, for example **MSTest Test Project** or **NUnit Test Project**, and then select **Next**.
23+
1. On the **Create a new project** page, enter *unit test* in the search box. Select the project template for the test framework that you want to use, such as **MSTest Test Project** or **NUnit Test Project**, and then select **Next**.
2324

2425
::: moniker range=">=vs-2022"
25-
![Screenshot of test project templates in Visual Studio 2022.](media/vs-2022/test-project-templates.png)
26+
:::image type="content" source="media/vs-2022/test-project-templates.png" alt-text="Screenshot of test project templates in Visual Studio 2022.":::
2627
::: moniker-end
2728
::: moniker range="vs-2019"
28-
![Screenshot of test project templates in Visual Studio 2019.](media/vs-2019/test-project-templates.png)
29+
:::image type="content" source="media/vs-2019/test-project-templates.png" alt-text="Screenshot of test project templates in Visual Studio 2019.":::
2930
::: moniker-end
3031

31-
3. On the **Configure your new project** page, enter a name for your project, and then select **Create**.
32+
1. On the **Configure your new project** page, enter a name for your project, and then select **Create**.
3233

33-
4. In your unit test project, add a reference to the code under test. To add a reference to a code project in the same solution:
34+
1. In your unit test project, add a reference to the code under test. To add a reference to a code project in the same solution:
3435

35-
1. Select the test project in **Solution Explorer**.
36+
1. In **Solution Explorer**, right-click the test project, and select **Add** > **Reference**.
3637

37-
2. On the **Project** menu, select **Add Reference**.
38+
1. In **Reference Manager**, select the **Solution** node under **Projects**.
39+
40+
1. Select the code project you want to test, and then select **OK**.
3841

39-
3. In **Reference Manager**, select the **Solution** node under **Projects**. Select the code project you want to test, and then select **OK**.
40-
41-
If the code that you want to test is in another location, see [Managing references in a project](../ide/managing-references-in-a-project.md) for information about adding a reference.
42+
If the code you want to test is in another location, see [Managing references in a project](../ide/managing-references-in-a-project.md) for information about adding a reference.
4243

4344
## Related content
4445

docs/test/install-third-party-unit-test-frameworks.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,64 @@
11
---
2-
title: Install third-party unit test frameworks
3-
description: Visual Studio Test Explorer can run tests from any unit test framework that has developed an adapter interface for it.
4-
ms.date: 12/04/2023
2+
title: Install Third-party Unit Test Frameworks
3+
description: Visual Studio Test Explorer can run tests from any unit test framework that has an adapter interface available.
4+
ms.date: 04/17/2025
55
ms.topic: how-to
66
ms.author: mikejo
77
manager: mijacobs
88
ms.subservice: test-tools
99
author: mikejo5000
10+
#customer intent: As a developer, I want to install unit test frameworks from other parties so I can run unit tests from any unit test framework in Visual Studio.
1011
---
1112
# Install unit test frameworks
1213

13-
Visual Studio Test Explorer can run tests from any unit test framework that has developed an adapter interface for it. Installing the framework copies the binaries and adds Visual Studio project templates for the languages it supports. When you create a project with the template, the framework is registered with Test Explorer.
14+
Visual Studio Test Explorer can run tests from any unit test framework that has an adapter interface available. Installing the framework copies the binaries and adds Visual Studio project templates for the languages it supports. When you create a project with the template, the framework is registered with Test Explorer.
1415

1516
A Visual Studio solution can contain unit test projects that use different frameworks and that are targeted at different languages.
1617

17-
For .NET, [MSTest, NUnit, and xUnit](getting-started-with-unit-testing.md) are the test frameworks provided by Visual Studio which are installed by default. For C++, a different set of test frameworks are provided, such as CTest.
18+
For .NET, [MSTest, NUnit, and xUnit](getting-started-with-unit-testing.md) are the test frameworks provided by Visual Studio, which are installed by default. For C++, a different set of test frameworks are provided, such as CTest.
1819

1920
## Acquire frameworks
2021

21-
Install third-party unit test frameworks by using **NuGet Package Manager**.
22+
Install third-party unit test frameworks by using **NuGet Package Manager**:
2223

23-
1. Right-click on the project that will contain your test code and select **Manage NuGet Packages**.
24+
1. In **Solution Explorer**, right-click the project for your test code, and select **Manage NuGet Packages**.
2425

25-
2. In **NuGet Package Manager**, search for the test framework you want to install, and then click **Install**.
26+
1. In **NuGet Package Manager**, search for the test framework you want to install:
2627

2728
::: moniker range=">=vs-2022"
28-
![NuGet Package Manager in Visual Studio](media/vs-2022/nuget-package-manager.png)
29+
:::image type="content" source="media/vs-2022/nuget-package-manager.png" alt-text="Screenshot of NuGet Package Manager in Visual Studio 2022.":::
2930
::: moniker-end
3031
::: moniker range="vs-2019"
31-
![NuGet Package Manager in Visual Studio](media/vs-2019/nuget-package-manager.png)
32+
:::image type="content" source="media/vs-2019/nuget-package-manager.png" alt-text="Screenshot of NuGet Package Manager in Visual Studio 2019.":::
3233
::: moniker-end
3334

35+
1. Select the framework and then select **Install**.
36+
3437
## Update to the latest test adapters
3538

3639
Update to the latest stable test adapter to experience better test discovery and execution. For more information about updates to MSTest, NUnit, and xUnit test adapters, see the [Visual Studio blog](https://devblogs.microsoft.com/visualstudio/test-experience-improvements/).
3740

3841
### To update to the latest stable test adapter version
3942

40-
1. Open the NuGet Package Manager for your solution by navigating to **Tools** > **NuGet Package Manager** > **Manage NuGet Packages for Solution**.
43+
1. Open **NuGet Package Manager** for your solution by selecting **Tools** > **NuGet Package Manager** > **Manage NuGet Packages for Solution**.
4144

42-
2. Click on the **Updates** tab and search for MSTest, NUnit, or xUnit test adapters that are installed.
45+
1. Select the **Updates** tab and search for MSTest, NUnit, or xUnit test adapters that are installed.
4346

44-
3. Select each test adapter, and then select the button to update to a new version.
47+
1. Select the checkbox next to each test adapter you want to refresh, and then select **Update** to install the latest version of each adapter.
4548

4649
::: moniker range=">=vs-2022"
47-
![Upgrade Test Adapter](media/vs-2022/install-adapter-upgrade.png)
50+
51+
:::image type="content" source="media/vs-2022/install-adapter-upgrade.png" alt-text="Screenshot of Upgrade Test Adapter in Visual Studio 2022.":::
52+
53+
If the **Preview changes** dialog opens, confirm your selection, and select **Apply**. Accept any licensing changes, as needed.
54+
4855
::: moniker-end
4956
::: moniker range="vs-2019"
50-
![Upgrade Test Adapter](media/install-adapter-upgrade.png)
5157

52-
Choose the **Install** button.
58+
:::image type="content" source="media/install-adapter-upgrade.png" alt-text="Screenshot of Upgrade Test Adapter in Visual Studio 2019.":::
59+
60+
Select **Install**.
61+
5362
::: moniker-end
5463

5564
## Related content

subscriptions/product-keys.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Using product keys in Visual Studio subscriptions
2+
title: Understanding the product keys offered in your Visual Studio subscription
33
author: joseb-rdc
44
ms.author: amast
55
manager: shve
6-
ms.date: 12/13/2024
6+
ms.date: 04/17/2025
77
ms.topic: conceptual
88
description: Obtain and manage your product keys in Visual Studio subscriptions for products that require keys for installation or activation.
99
---
1010

11-
# Using product keys in Visual Studio subscriptions
11+
# Understanding the product keys offered in your Visual Studio subscription
1212

13-
Visual Studio subscriptions provide access to a wide range of Microsoft products for designing, developing, testing, and demonstrating applications. Some of these products require product keys during installation, and some of those require activation.
13+
Visual Studio subscriptions provide access to a wide range of Microsoft products for designing, developing, testing, and demonstrating applications. Some of these products require product keys during installation, and some of those products require activation.
1414

1515
Visual Studio subscriptions typically include five product keys for current versions of Windows and Office products, and three keys for older versions.
1616
Keys often have multiple activations, and many products allow 30-day use without activation. For most subscribers, that's more than enough.

0 commit comments

Comments
 (0)