一个可以直接使用的manifest
<code class="lang-xml"><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestversion="1.0">
<assemblyidentity type="win32" name="xxx" version="1.0.0.0">
<dependency>
<dependentassembly>
<assemblyidentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorarchitecture="*" publickeytoken="6595b64144ccf1df" language="*">
</assemblyidentity></dependentassembly>
</dependency>
<trustinfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedprivileges>
<requestedexecutionlevel level="asInvoker" uiaccess="false">
</requestedexecutionlevel></requestedprivileges>
</security>
</trustinfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowssettings xmlns:ws="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<ws:dpiaware>true</ws:dpiaware>
</windowssettings>
</application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedos id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}">
<supportedos id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}">
<supportedos id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}">
<supportedos id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}">
<supportedos id="{e2011457-1546-43c5-a5fe-008deee3d3f0}">
</supportedos></supportedos></supportedos></supportedos></supportedos></application>
</compatibility>
</assemblyidentity></assembly></code>