Skip to content

Commit 65a2fa2

Browse files
committed
Re-add the dpiAware attribute to the WinForms Example (no harm having it)
Add a list of supported applications including Windows 10
1 parent 911894b commit 65a2fa2

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

CefSharp.WinForms.Example/app.manifest

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,25 @@
3434
</security>
3535
</trustInfo>
3636

37+
<asmv3:application>
38+
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
39+
<dpiAware>true</dpiAware>
40+
</asmv3:windowsSettings>
41+
</asmv3:application>
42+
3743
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
3844
<application>
3945
<!-- A list of all Windows versions that this application is designed to work with.
4046
Windows will automatically select the most compatible environment.-->
4147

42-
<!-- If your application is designed to work with Windows Vista, uncomment the following supportedOS node-->
43-
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>-->
44-
45-
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
46-
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
47-
48-
<!-- If your application is designed to work with Windows 8, uncomment the following supportedOS node-->
49-
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>-->
50-
51-
<!-- If your application is designed to work with Windows 8.1, uncomment the following supportedOS node-->
52-
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>-->
48+
<!-- Windows 7 -->
49+
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
50+
<!-- Windows 8 -->
51+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
52+
<!-- Windows 8.1 -->
53+
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />
54+
<!-- Windows 10 -->
55+
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
5356
</application>
5457
</compatibility>
5558
</asmv1:assembly>

CefSharp.Wpf.Example/app.manifest

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@
3939
<!-- A list of all Windows versions that this application is designed to work with.
4040
Windows will automatically select the most compatible environment.-->
4141

42-
<!-- If your application is designed to work with Windows Vista, uncomment the following supportedOS node-->
43-
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>-->
44-
45-
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
46-
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
47-
48-
<!-- If your application is designed to work with Windows 8, uncomment the following supportedOS node-->
49-
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>-->
50-
42+
<!-- Windows 7 -->
43+
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
44+
<!-- Windows 8 -->
45+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
46+
<!-- Windows 8.1 -->
47+
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />
48+
<!-- Windows 10 -->
49+
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
5150
</application>
5251
</compatibility>
5352

0 commit comments

Comments
 (0)