Skip to content

Commit 510baa1

Browse files
Upgrade to .NET 10
1 parent d483810 commit 510baa1

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
env:
14-
DOTNET_VERSION: 9.0.x
14+
DOTNET_VERSION: 10.0.x
1515

1616
jobs:
1717
libuiohook-macos-arm64:

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup>
12-
<TargetFrameworks>net472;netstandard2.0;net8.0;net9.0;net9.0-maccatalyst</TargetFrameworks>
12+
<TargetFrameworks>net472;netstandard2.0;net8.0;net9.0;net9.0-maccatalyst;net10.0;net10.0-maccatalyst</TargetFrameworks>
1313
<Platforms>x86;x64;ARM32;ARM64;AnyCPU</Platforms>
1414
</PropertyGroup>
1515

SharpHook.Sample/SharpHook.Sample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFrameworks></TargetFrameworks>
6-
<TargetFramework>net9.0</TargetFramework>
6+
<TargetFramework>net10.0</TargetFramework>
77
<PublishTrimmed>true</PublishTrimmed>
88
<TrimmerDefaultAction>link</TrimmerDefaultAction>
99
<ApplicationManifest>app.manifest</ApplicationManifest>

SharpHook.Tests/SharpHook.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net9.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0</TargetFrameworks>
55
<OutputType>exe</OutputType>
66
<IsTestProject>true</IsTestProject>
77
<IsPackable>false</IsPackable>
@@ -11,8 +11,8 @@
1111
<ItemGroup>
1212
<PackageReference Include="FsCheck" Version="3.3.2" />
1313
<PackageReference Include="FsCheck.Xunit.v3" Version="3.3.2" />
14-
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="9.10.0" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
14+
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.0.0" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>

SharpHook/EventSimulationExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static IEventSimulationSequenceBuilder AddKeyStroke(
3737
builder.AddKeyPress(keyCode);
3838
}
3939

40-
foreach (var keyCode in keyCodes.Reverse())
40+
foreach (var keyCode in Enumerable.Reverse(keyCodes))
4141
{
4242
builder.AddKeyRelease(keyCode);
4343
}

docs/docfx.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"src": [
55
{
66
"files": [
7-
"artifacts/bin/SharpHook/release_net9.0/SharpHook.dll",
8-
"artifacts/bin/SharpHook.R3/release_net9.0/SharpHook.R3.dll",
9-
"artifacts/bin/SharpHook.Reactive/release_net9.0/SharpHook.Reactive.dll"
7+
"artifacts/bin/SharpHook/release_net10.0/SharpHook.dll",
8+
"artifacts/bin/SharpHook.R3/release_net10.0/SharpHook.R3.dll",
9+
"artifacts/bin/SharpHook.Reactive/release_net10.0/SharpHook.Reactive.dll"
1010
],
1111
"src": "../"
1212
}
1313
],
1414
"dest": "api",
1515
"properties": {
16-
"TargetFramework": "net9.0"
16+
"TargetFramework": "net10.0"
1717
},
1818
"disableGitFeatures": false,
1919
"disableDefaultFilter": false

0 commit comments

Comments
 (0)