-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update config and manifest for NET 4.7 and High-DPI support
- Loading branch information
Showing
3 changed files
with
132 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,53 @@ | ||
<?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"> | ||
<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:asmv3="urn:schemas-microsoft-com:asm.v3" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
|
||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="*" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency> | ||
|
||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> | ||
<security> | ||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<requestedExecutionLevel level="asInvoker" /> | ||
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> | ||
</requestedPrivileges> | ||
</security> | ||
</trustInfo> | ||
|
||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
<application> | ||
<!-- Windows Vista --> | ||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" /> | ||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> | ||
<!-- Windows 7 --> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" /> | ||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
<!-- Windows 8 --> | ||
<!--<supportedOS ID="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />--> | ||
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
<!-- Windows 8.1 --> | ||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
<!-- Windows 10 --> | ||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
</application> | ||
</compatibility> | ||
|
||
<description>Lightweight clone of a window.</description> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="*" /> | ||
</dependentAssembly> | ||
</dependency> | ||
</asmv1:assembly> | ||
|
||
<asmv3:application> | ||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> | ||
<dpiAware>true</dpiAware> | ||
</asmv3:windowsSettings> | ||
</asmv3:application> | ||
|
||
</asmv1:assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,78 @@ | ||
<?xml version="1.0"?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<section name="OnTopReplica.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/> | ||
</sectionGroup> | ||
</configSections> | ||
<userSettings> | ||
<OnTopReplica.Properties.Settings> | ||
<setting name="Opacity" serializeAs="String"> | ||
<value>255</value> | ||
</setting> | ||
<setting name="Language" serializeAs="String"> | ||
<value>(Default)</value> | ||
</setting> | ||
<setting name="MustUpdate" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="ClickThrough" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="FirstTimeClickThrough" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="FirstTimeClickForwarding" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="FullscreenAlwaysOnTop" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="RestoreSizeAndPosition" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="RestoreLastSize" serializeAs="String"> | ||
<value>0, 0</value> | ||
</setting> | ||
<setting name="RestoreLastPosition" serializeAs="String"> | ||
<value>0, 0</value> | ||
</setting> | ||
<setting name="RestoreLastWindow" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="RestoreLastWindowClass" serializeAs="String"> | ||
<value/> | ||
</setting> | ||
<setting name="RestoreLastWindowTitle" serializeAs="String"> | ||
<value/> | ||
</setting> | ||
<setting name="RestoreLastWindowHwnd" serializeAs="String"> | ||
<value>0</value> | ||
</setting> | ||
<setting name="HotKeyCloneCurrent" serializeAs="String"> | ||
<value>[CTRL]+[SHIFT]+C</value> | ||
</setting> | ||
<setting name="HotKeyShowHide" serializeAs="String"> | ||
<value>[CTRL]+[SHIFT]+O</value> | ||
</setting> | ||
<setting name="FullscreenMode" serializeAs="String"> | ||
<value>Standard</value> | ||
</setting> | ||
<setting name="RestoreLastShowChrome" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
</OnTopReplica.Properties.Settings> | ||
</userSettings> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||
<section name="OnTopReplica.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/> | ||
</sectionGroup> | ||
</configSections> | ||
|
||
<userSettings> | ||
<OnTopReplica.Properties.Settings> | ||
<setting name="Opacity" serializeAs="String"> | ||
<value>255</value> | ||
</setting> | ||
<setting name="Language" serializeAs="String"> | ||
<value>(Default)</value> | ||
</setting> | ||
<setting name="MustUpdate" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="ClickThrough" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="FirstTimeClickThrough" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="FirstTimeClickForwarding" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="FullscreenAlwaysOnTop" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="RestoreSizeAndPosition" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="RestoreLastSize" serializeAs="String"> | ||
<value>0, 0</value> | ||
</setting> | ||
<setting name="RestoreLastPosition" serializeAs="String"> | ||
<value>0, 0</value> | ||
</setting> | ||
<setting name="RestoreLastWindow" serializeAs="String"> | ||
<value>False</value> | ||
</setting> | ||
<setting name="RestoreLastWindowClass" serializeAs="String"> | ||
<value/> | ||
</setting> | ||
<setting name="RestoreLastWindowTitle" serializeAs="String"> | ||
<value/> | ||
</setting> | ||
<setting name="RestoreLastWindowHwnd" serializeAs="String"> | ||
<value>0</value> | ||
</setting> | ||
<setting name="HotKeyCloneCurrent" serializeAs="String"> | ||
<value>[CTRL]+[SHIFT]+C</value> | ||
</setting> | ||
<setting name="HotKeyShowHide" serializeAs="String"> | ||
<value>[CTRL]+[SHIFT]+O</value> | ||
</setting> | ||
<setting name="FullscreenMode" serializeAs="String"> | ||
<value>Standard</value> | ||
</setting> | ||
<setting name="RestoreLastShowChrome" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
</OnTopReplica.Properties.Settings> | ||
</userSettings> | ||
|
||
<!-- Runtiome support declaration --> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7" /> | ||
</startup> | ||
|
||
<!-- Windows Forms configuration for .NET 4.7 --> | ||
<System.Windows.Forms.ApplicationConfigurationSection> | ||
<add key="DpiAwareness" value="PerMonitorV2"/> | ||
</System.Windows.Forms.ApplicationConfigurationSection> | ||
|
||
</configuration> |