Skip to content

Commit 6f10aaa

Browse files
Merge pull request #10511 from WilliamAntonRohm/issue-8547
visualstudio-docs/issues/8547 -- update for VS 2022
2 parents a52578b + c997c58 commit 6f10aaa

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/designers/disable-dpi-awareness.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,22 @@ The preferred solution to this issue is to restart Visual Studio as a DPI-unawar
5555

5656
When Visual Studio runs as a DPI-unaware process, the designer layout issues are resolved, but fonts may appear blurry and you may see issues in other designers such as the **XAML Designer**.. Visual Studio displays a different yellow informational message when it runs as a DPI-unaware process that says **Visual Studio is running as a DPI-unaware process. WPF and XAML designers might not display correctly.** The informational bar also provides an option to **Restart Visual Studio as a DPI-aware process**.
5757

58+
::: moniker range="<=vs-2019"
59+
5860
> [!NOTE]
59-
> - If you had undocked tool windows in Visual Studio when you selected the option to restart as a DPI-unaware process, the position of those tool windows may change.
61+
> - If you have undocked tool windows in Visual Studio when you select the option to restart as a DPI-unaware process, the position of the tool windows might change.
6062
> - If you use the default Visual Basic profile, or if you have the **Save new projects when created** option deselected in **Tools** > **Options** > **Projects and Solutions**, Visual Studio cannot reopen your project when it restarts as a DPI-unaware process. However, you can open the project by selecting it under **File** > **Recent Projects and Solutions**.
6163
64+
::: moniker-end
65+
66+
::: moniker range=">=vs-2022"
67+
68+
> [!NOTE]
69+
> - If you have undocked tool windows in Visual Studio when you select the option to restart as a DPI-unaware process, the position of the tool windows might change.
70+
> - If you use the default Visual Basic profile, Visual Studio cannot reopen your project when it restarts as a DPI-unaware process. However, you can open the project by selecting it under **File** > **Recent Projects and Solutions**.
71+
72+
::: moniker-end
73+
6274
It's important to restart Visual Studio as a DPI-aware process when you're finished working in the **Windows Forms Designer**. If you close and reopen Visual Studio when it's running in DPI-unaware mode, it becomes DPI-aware again. You can also select the **Restart Visual Studio as a DPI-aware process** option in the informational bar.
6375

6476
### Add a registry entry

0 commit comments

Comments
 (0)