Skip to content

Commit 56373b5

Browse files
committed
edits
1 parent f0b5c05 commit 56373b5

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

docs/debugger/how-to-debug-in-mixed-mode.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ To enable mixed-mode debugging for a native calling app in C++, follow these ste
5353
::: zone-end
5454

5555
::: zone pivot="programming-language-dotnet"
56-
## Enable mixed-mode for managed calling app (C# or Visual Basic)
56+
## Enable mixed-mode for managed calling app (.NET)
5757

58-
To enable mixed-mode debugging for a managed calling app in C# or Visual Basic, follow these steps:
58+
To enable mixed-mode debugging for a .NET calling app in C# or Visual Basic, follow these steps:
5959

6060
1. In Visual Studio **Solution Explorer**, right-click the C# or Visual Basic project and select **Properties**, or use the Alt + Enter keyboard shortcut. The **Properties** pane opens.
6161

@@ -95,31 +95,14 @@ To enable mixed-mode debugging for a managed calling app in C# or Visual Basic,
9595
::: zone-end
9696

9797
::: zone pivot="programming-language-dotnetf"
98-
## Enable mixed-mode for managed calling app (C# or Visual Basic)
98+
## Enable mixed-mode for managed calling app (.NET Framework)
9999

100-
To enable mixed-mode debugging for a managed calling app in C# or Visual Basic, follow these steps:
100+
To enable mixed-mode debugging for a .NET Framework calling app in C# or Visual Basic, follow these steps:
101101

102102
1. In Visual Studio **Solution Explorer**, right-click the C# or Visual Basic project and select **Properties**, or use the Alt + Enter keyboard shortcut. The **Properties** pane opens.
103103

104104
1. In the **Properties** pane, enable mixed-mode debugging by setting the following property:
105105

106-
::: moniker range=">=vs-2022"
107-
108-
**.NET Framework code**
109-
110-
If you're using .NET Framework code, which has no debug launch profile, follow these steps:
111-
112-
1. On the left menu, select **Debug**.
113-
114-
1. In the **Debugger engines** section, select the **Enable native code debugging** property:
115-
116-
:::image type="content" source="../debugger/media/mixed-mode-enable-native-code-debugging.png" border="false" alt-text="Screenshot that shows how to enable mixed mode debugging for a C# or Visual Basic project in Visual Studio 2019.":::
117-
118-
1. To apply the property change, close the **Properties** pane.
119-
120-
::: moniker-end
121-
::: moniker range="<=vs-2019"
122-
123106
1. On the left menu, select **Debug**.
124107

125108
1. In the **Debugger engines** section, select the **Enable native code debugging** property:
@@ -128,9 +111,6 @@ To enable mixed-mode debugging for a managed calling app in C# or Visual Basic,
128111

129112
1. To apply the property change, close the **Properties** pane.
130113

131-
> [!NOTE]
132-
> For a .NET Core app in Visual Studio 2017 and Visual Studio 2019, you must use the *launchSettings.json* file instead of the project properties to enable mixed-mode debugging.
133-
134114
::: moniker-end
135115
::: zone-end
136116

0 commit comments

Comments
 (0)