Skip to content

Commit 019ba98

Browse files
committed
Update to NET 9
1 parent 5ab4a26 commit 019ba98

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install .NET Core
2929
uses: actions/setup-dotnet@v4
3030
with:
31-
dotnet-version: 8.0.x
31+
dotnet-version: 9.0.x
3232

3333
- name: Setup MSBuild.exe
3434
uses: microsoft/setup-msbuild@v2
@@ -54,9 +54,9 @@ jobs:
5454
run: |
5555
$NuGetPackageFolder = Join-Path -Path $env:USERPROFILE -ChildPath ".nuget\packages\pkhex.core"
5656
$LatestVersion = (Get-ChildItem $NuGetPackageFolder | Sort-Object -Property LastWriteTime -Descending)[0].Name
57-
$PkhexCoreDllSource = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "PKHeX/PKHeX.Core/bin/Release/net8.0/PKHeX.Core.dll"
58-
$PkhexCoreDllDest = Join-Path -Path $NuGetPackageFolder -ChildPath "$LatestVersion/lib/net8.0/PKHeX.Core.dll"
59-
Copy-Item -Path $PkhexCoreDllSource -Destination $PkhexCoreDllDest
57+
$PkhexCoreDllSource = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "PKHeX/PKHeX.Core/bin/Release/net9.0-windows/PKHeX.Core.dll"
58+
$PkhexCoreDllDest = Join-Path -Path $NuGetPackageFolder -ChildPath "$LatestVersion/lib/net9.0/PKHeX.Core.dll"
59+
Copy-Item -Path $PkhexCoreDllSource -Destination $PkhexCoreDllDest
6060
6161
- name: Execute unit tests
6262
run: dotnet test
@@ -75,4 +75,4 @@ jobs:
7575
name: HomeLive.Plugins
7676
path: |
7777
HomeLive.Plugins/bin
78-
!HomeLive.Plugins/bin/Release/net8.0-windows7.0/PKHeX.Core.dll
78+
!HomeLive.Plugins/bin/Release/net9.0-windows7.0/PKHeX.Core.dll

HomeLive.Core/HomeLive.Core.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<ApplicationIcon>Resources\icon.ico</ApplicationIcon>
@@ -44,7 +44,7 @@
4444
</ItemGroup>
4545

4646
<ItemGroup>
47-
<PackageReference Include="PKHeX.Core" Version="24.11.11" />
47+
<PackageReference Include="PKHeX.Core" Version="24.11.12" />
4848
</ItemGroup>
4949

5050
<ItemGroup>

HomeLive.DeviceExecutor/DeviceExecutor.cs

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public override string GetSummary()
3232

3333
public override void SoftStop() => Config.Pause();
3434
public override Task HardStop() => Task.CompletedTask;
35+
public override Task RebootAndStop(CancellationToken token) => Task.CompletedTask;
3536

3637
public override async Task MainLoop(CancellationToken token)
3738
{

HomeLive.DeviceExecutor/HomeLive.DeviceExecutor.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Title>Home Live Device Executor</Title>
@@ -21,7 +21,7 @@
2121
</PropertyGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="NLog" Version="5.1.4" />
24+
<PackageReference Include="NLog" Version="5.3.4" />
2525
</ItemGroup>
2626

2727
<ItemGroup>
12.5 KB
Binary file not shown.

HomeLive.Plugins/HomeLive.Plugins.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0-windows7.0</TargetFramework>
4+
<TargetFramework>net9.0-windows7.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<UseWindowsForms>true</UseWindowsForms>
77
<ImplicitUsings>enable</ImplicitUsings>

0 commit comments

Comments
 (0)