Skip to content

Commit

Permalink
Target .NET 6.0 and .NET Framework 4.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslevesque committed Jan 26, 2024
1 parent 0589326 commit 213702a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 38 deletions.
9 changes: 0 additions & 9 deletions samples/NHotkey.WindowsForms.Demo/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 0 additions & 24 deletions samples/NHotkey.WindowsForms.Demo/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,4 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing.Common" name="System.Drawing.Common, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
<data name="trayIcon.Icon" type="System.Drawing.Icon, System.Drawing.Common" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAABMLAAATCwAAAAAAAAAA
AAAAAAAAbGxt/2xsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xs
bf8AAAAAAAAAAGxsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xs
bf9sbG3/AAAAAAAAAABsbG3/bGxt/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AABsbG3/bGxt/wAAAAAAAAAAbGxt/2xsbf8AAAAAbGxt/2xsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xs
bf8AAAAAbGxt/2xsbf8AAAAAAAAAAGxsbf9sbG3/AAAAAGxsbf9sbG3/bGxt/2xsbf9sbG3/bGxt/2xs
bf9sbG3/AAAAAGxsbf9sbG3/AAAAAA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Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>net481;net8.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<OutputType>WinExe</OutputType>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 2 additions & 0 deletions samples/NHotkey.WindowsForms.Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
#if !NETFRAMEWORK
Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);
#endif
Application.Run(new Form1());
}
}
Expand Down
2 changes: 1 addition & 1 deletion samples/NHotkey.Wpf.Demo/NHotkey.Wpf.Demo.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFrameworks>net481;net8.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
<OutputType>WinExe</OutputType>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion src/NHotkey.WindowsForms/NHotkey.WindowsForms.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net40;net45;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<PropertyGroup Label="Package properties">
Expand Down
2 changes: 1 addition & 1 deletion src/NHotkey.Wpf/NHotkey.Wpf.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net40;net45;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
<UseWPF>true</UseWPF>
</PropertyGroup>
<PropertyGroup Label="Package properties">
Expand Down
2 changes: 1 addition & 1 deletion src/NHotkey/NHotkey.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net40;net45;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
</PropertyGroup>

<PropertyGroup Label="Package properties">
Expand Down

0 comments on commit 213702a

Please sign in to comment.