Skip to content

Commit 450cb55

Browse files
authored
Merge pull request #19 from wheeheee/upgrade-dotnet-10
Target .NET 10
2 parents 37ea2c0 + a7fd056 commit 450cb55

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,16 +290,16 @@ protected override void OnLoad(EventArgs e)
290290
base.OnLoad(e);
291291
}
292292

293-
protected override void Dispose(bool isDisposing)
293+
protected override void Dispose(bool disposing)
294294
{
295-
if (isDisposing)
295+
if (disposing)
296296
{
297297
// Release the icon resource.
298298
trayIcon.Dispose();
299299
trayMenu?.Dispose();
300300
}
301301

302-
base.Dispose(isDisposing);
302+
base.Dispose(disposing);
303303
}
304304
}
305305
public class ContextMenuStrip : System.Windows.Forms.ContextMenuStrip

WinToLinux.csproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0-windows</TargetFramework>
3+
<TargetFramework>net10.0-windows</TargetFramework>
44
<OutputType>WinExe</OutputType>
55
<UseWindowsForms>true</UseWindowsForms>
6-
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
76
<PackageReadmeFile>README.md</PackageReadmeFile>
87
<ApplicationIcon>WtL.ico</ApplicationIcon>
98
<ApplicationManifest>app.manifest</ApplicationManifest>
109
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode>
1110
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1211
<RepositoryUrl>https://github.com/Toxblh/WinToLinux</RepositoryUrl>
13-
<Copyright>Anton Palgunov &amp; Contributors. Copyright © 2020 - 2025</Copyright>
12+
<Copyright>Anton Palgunov &amp; Contributors. Copyright © 2020 - 2026</Copyright>
1413
<Description>Reboot to Linux easier than ever!</Description>
1514

16-
<VersionPrefix>1.2.0</VersionPrefix>
15+
<PublishSingleFile>true</PublishSingleFile>
16+
<SelfContained>false</SelfContained>
17+
18+
<VersionPrefix>1.3.0</VersionPrefix>
1719

1820
<ApplicationVersion>$(VersionPrefix)</ApplicationVersion>
1921
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
2022
<FileVersion>$(VersionPrefix)$(VersionSuffix)</FileVersion>
2123
</PropertyGroup>
2224
<ItemGroup>
23-
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
2425
<PackageReference Include="TaskScheduler" Version="2.12.2" />
2526
</ItemGroup>
2627
<ItemGroup>

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3-
<assemblyIdentity version="1.2.0.0" name="WinToLinux"/>
3+
<assemblyIdentity version="1.3.0.0" name="WinToLinux"/>
44
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
55
<security>
66
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">

0 commit comments

Comments
 (0)