Application manifest schema
Is there any documentation which describes all the valid elements for a Windows application manifest, which namespace they are in, and which Windows versions will use them? All the documentation I found so far describes only parts of the manifest, and I have seen different XML namespaces used for the same element.
What I have found so far:
- Manifest Files Reference/Application Manifests seems to have full documentation of the
urn:schemas-microsoft-com:asm.v1
namespace plus thecompatibility
/supportedOS
stuff (from theurn:schemas-microsoft-com:compatibility.v1
namespace). It has a link to a schema file which does not have thecompatibility
/supportedOS
stuff. - Step 6: Create and 开发者_JAVA技巧Embed an Application Manifest (UAC) documents the
trustInfo
/requestedExecutionLevel
stuff as being in theurn:schemas-microsoft-com:asm.v2
namespace. However, I have seen other places saying it is in theurn:schemas-microsoft-com:asm.v3
namespace. - SetProcessDPIAware Function documents an
application
/windowsSettings
/dpiAware
thing as using both theurn:schemas-microsoft-com:asm.v3
namespace and ahttp://schemas.microsoft.com/SMI/2005/WindowsSettings
namespace. - Application Manifest XML Schemas looks like a set of schema files for some of these namespaces, but it seems to contradict the other references (for instance, unless I am misreading the xsd,
dependency
is in theurn:schemas-microsoft-com:asm.v2
namespace, while the first reference above implies it is in theurn:schemas-microsoft-com:asm.v1
namespace).
There's no such thing. In fact I'd bet that there are still some completely undocumented parts of the manifest. Indeed, for a long time the only documentation of the DPI aware part was in Raymond Chen's blog and book!
精彩评论