如何启用dpiAware?

如何在现有的app.manifest中启用dpiAware:

      <!-- UAC Manifest Options If you want to change the Windows User Account Control level replace the requestedExecutionLevel node with one of the following.    Specifying requestedExecutionLevel node will disable file and registry virtualization. If you want to utilize File and Registry Virtualization for backward compatibility then delete the requestedExecutionLevel node. -->         <!---->    <!--     -->  

根据Manifest Madness ,如果您计划支持Windows 8.1 ,则应为此设置使用稍微不同的值:

   True/PM   

根据DPI-Aware声明托管应用程序,您需要在“assembly”元素中添加followng部分:

   true