1 <?xml version="1.0" encoding="utf-8"?>
2 <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3 <assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
4 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
6 <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
8 如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
9 requestedExecutionLevel 节点。
11 <requestedExecutionLevel level="asInvoker" uiAccess="false" />
12 <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
13 <requestedExecutionLevel level="highestAvailable" uiAccess="false" />
15 指定 requestedExecutionLevel 节点将会禁用文件和注册表虚拟化。
17 兼容性,则删除 requestedExecutionLevel 节点。
19 <requestedExecutionLevel level="asInvoker" uiAccess="false" />
20 </requestedPrivileges>
21 <applicationRequestMinimum>
22 <PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
23 <defaultAssemblyRequest permissionSetReference="Custom" />
24 </applicationRequestMinimum>
27 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
29 <!-- 此应用程序设计使用的所有 Windows 版本的列表。Windows 将会自动选择最兼容的环境。-->
30 <!-- 如果应用程序设计使用 Windows 7,请取消注释以下 supportedOS 节点-->
31 <!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
32 <!-- Windows Vista -->
33 <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
35 <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
37 <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
39 <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
41 <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
44 <!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
49 name="Microsoft.Windows.Common-Controls"
51 processorArchitecture="*"
52 publicKeyToken="6595b64144ccf1df"