11<?xml version =" 1.0" encoding =" utf-8" ?>
22<assembly manifestVersion =" 1.0" xmlns =" urn:schemas-microsoft-com:asm.v1" >
3- <assemblyIdentity version =" 1.0.0.0" name =" MyApplication.app" />
3+ <assemblyIdentity version =" 1.0.0.0" name =" MyApplication.app" />
44 <trustInfo xmlns =" urn:schemas-microsoft-com:asm.v2" >
55 <security >
66 <requestedPrivileges xmlns =" urn:schemas-microsoft-com:asm.v3" >
1717 -->
1818 <requestedExecutionLevel level =" asInvoker" uiAccess =" false" />
1919 </requestedPrivileges >
20+ <applicationRequestMinimum >
21+ <PermissionSet Unrestricted =" true" ID =" Custom" SameSite =" site" />
22+ <defaultAssemblyRequest permissionSetReference =" Custom" />
23+ </applicationRequestMinimum >
2024 </security >
2125 </trustInfo >
22-
2326 <compatibility xmlns =" urn:schemas-microsoft-com:compatibility.v1" >
2427 <application >
2528 <!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
2629 Windows 版本的列表。取消评论适当的元素,
2730 Windows 将自动选择最兼容的环境。 -->
28-
2931 <!-- Windows Vista -->
3032 <!-- <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
31-
3233 <!-- Windows 7 -->
3334 <!-- <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
34-
3535 <!-- Windows 8 -->
3636 <!-- <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
37-
3837 <!-- Windows 8.1 -->
3938 <!-- <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
40-
4139 <!-- Windows 10 -->
4240 <!-- <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
43-
4441 </application >
4542 </compatibility >
46-
47- <!-- 指示该应用程序可感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
43+ <!-- 指示该应用程序可感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
4844 自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI,无需
4945 选择加入。选择加入此设置的 Windows 窗体应用程序(面向 .NET Framework 4.6)还应
5046 在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。
5147
5248 将应用程序设为感知长路径。请参阅 https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
53-
54- <application xmlns =" urn:schemas-microsoft-com:asm.v3" >
55- <windowsSettings >
56- <dpiAware xmlns =" http://schemas.microsoft.com/SMI/2005/WindowsSettings" >true</dpiAware >
57- <dpiAwareness xmlns =" http://schemas.microsoft.com/SMI/2016/WindowsSettings" >PerMonitorV2</dpiAwareness >
58- <longPathAware xmlns =" http://schemas.microsoft.com/SMI/2016/WindowsSettings" >true</longPathAware >
59- </windowsSettings >
60- </application >
61-
62- <!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
49+ <application xmlns =" urn:schemas-microsoft-com:asm.v3" >
50+ <windowsSettings >
51+ <dpiAware xmlns =" http://schemas.microsoft.com/SMI/2005/WindowsSettings" >true</dpiAware >
52+ <dpiAwareness xmlns =" http://schemas.microsoft.com/SMI/2016/WindowsSettings" >PerMonitorV2</dpiAwareness >
53+ <longPathAware xmlns =" http://schemas.microsoft.com/SMI/2016/WindowsSettings" >true</longPathAware >
54+ </windowsSettings >
55+ </application >
56+ <!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
6357 <!--
6458 <dependency>
6559 <dependentAssembly>
7468 </dependentAssembly>
7569 </dependency>
7670 -->
77-
78- </assembly >
71+ </assembly >
0 commit comments