Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 - Option: Optimize rendering for screens with different pixel densities" is grayed out, but requritements are fulfilled

I installed the final Version of Visual Studio 2019. I read that is has this new feature to work correctly on a system with different DPI screens.

The Requirements are "Windows 10, 1803" (I have 1809) and .NET Framework 4.8 (installed the current Preview).

The Option in Visual Studio 2019 is still grayed out.

I have no clue why. - Has anyone else succeeded in activating this setting?

like image 770
Martini Bianco Avatar asked Sep 13 '25 06:09

Martini Bianco


1 Answers

from https://developercommunity.visualstudio.com/comments/578963/view.html

I found what caused the issue. It was a registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\devenv.exe]

"dpiAwareness"=dword:00000001

After I deleted it everything works as it should.

Worked on my machine.

The Registry key may have been installed when I re-installed VS2017 after VS2019 lapsed into CPUholism

like image 168
CAD bloke Avatar answered Sep 15 '25 21:09

CAD bloke