Wie aktiviere ich dpiAware?
Wie kann ich Sie aktivieren dpiAware in das vorhandene app.manifest:
<?xml version="1.0" encoding="utf-8"?>
<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">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
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.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of all Windows versions that this application is designed to work with. Windows will automatically select the most compatible environment.-->
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
</application>
</compatibility>
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
<!-- <dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>-->
</asmv1:assembly>
InformationsquelleAutor Alvin | 2012-11-19
Du musst angemeldet sein, um einen Kommentar abzugeben.
Laut MANIFESTEN Wahnsinn, wenn Sie planen, zu unterstützen Windows 8.1 sollten Sie einen etwas anderen Wert für diese Einstellung:
Stimmen. Vielen Dank für diese darauf hingewiesen.
InformationsquelleAutor Sevenate
Laut Deklarieren von Verwalteten Anwendungen Wie DPI-Aware Sie hinzufügen müssen folgende Abschnitt innerhalb "Montage" element:
Ich bin mir nicht sicher, was Sie Tat. Bitte prüfen, ob neue Frage (Verknüpfung zu dieser zu zeigen, wo Sie gefunden info/versucht) und veröffentlichen, was Sie versucht es. Es ist fast unmöglich zu erraten, welche Art von Fehler man macht und sehr schwer zu Postleitzahl in die Kommentare.
Ich werde, aber, wenn Suche auf OP-manifest, es sieht sehr ähnlich wie mir. Er hat auch keine "Versammlung" - element in seinem code, die, warum ich dachte, es war eine offensichtliche Antwort. 😉
Ich vermute, Sie reden über den Unterschied zwischen Standard und non-Standard-Präfix für den XML-Knoten (w3.org/TR/REC-xml-names/#defaulting) - OP-manifest in der Tat hatte "assembly" - Knoten an der Wurzel (mit dem Präfix "asmv1:" zugeordnet zu richtigen namespace).
InformationsquelleAutor Alexei Levenkov