Skip to content

Commit 2ffe128

Browse files
committed
Update for .net 9
1 parent b59b6d9 commit 2ffe128

8 files changed

Lines changed: 11 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Dotnet
4444
uses: actions/setup-dotnet@v4
4545
with:
46-
dotnet-version: 8.x
46+
dotnet-version: 9.x
4747
source-url: https://nuget.pkg.github.com/ResoniteModdingGroup/index.json
4848

4949
- name: Add MonkeyLoader NuGet Source
@@ -98,7 +98,7 @@ jobs:
9898
- name: Setup Dotnet
9999
uses: actions/setup-dotnet@v4
100100
with:
101-
dotnet-version: 8.x
101+
dotnet-version: 9.x
102102
source-url: https://nuget.pkg.github.com/ResoniteModdingGroup/index.json
103103

104104
- name: Add MonkeyLoader NuGet Source

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Setup Dotnet
6969
uses: actions/setup-dotnet@v4
7070
with:
71-
dotnet-version: 8.x
71+
dotnet-version: 9.x
7272
source-url: https://nuget.pkg.github.com/ResoniteModdingGroup/index.json
7373

7474
- name: Add MonkeyLoader NuGet Source

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<AssemblyFileName>$(AssemblyTitle).dll</AssemblyFileName>
66
<LangVersion>12.0</LangVersion>
77
<Nullable>enable</Nullable>

FlexibleContactsSort/ClearContactsSearch.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ namespace FlexibleContactsSort
1616
[HarmonyPatch(typeof(ContactsDialog), nameof(ContactsDialog.OnAttach))]
1717
internal sealed class ClearContactsSearch : ResoniteMonkey<ClearContactsSearch>
1818
{
19-
protected override IEnumerable<IFeaturePatch> GetFeaturePatches() => Enumerable.Empty<IFeaturePatch>();
20-
2119
private static void Postfix(ContactsDialog __instance)
2220
{
2321
var searchEditor = __instance._searchBar.Target;

FlexibleContactsSort/ExtraContactColoring.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ internal sealed class ExtraContactColoring : ResoniteMonkey<ExtraContactColoring
1919
public override bool CanBeDisabled => true;
2020
public override string Name { get; } = "ExtraContactColoring";
2121

22-
protected override IEnumerable<IFeaturePatch> GetFeaturePatches() => Enumerable.Empty<IFeaturePatch>();
23-
2422
private static void Postfix(Contact contact, ContactData status, bool text, ref colorX __result)
2523
{
2624
if (Enabled && contact.ContactStatus == ContactStatus.Accepted && !contact.IsAccepted)

FlexibleContactsSort/FlexibleContactSorting.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ internal static int Compare((ContactData?, bool) contactSortInfo1, (ContactData?
4545
return score1 - score2;
4646
}
4747

48-
protected override IEnumerable<IFeaturePatch> GetFeaturePatches() => Enumerable.Empty<IFeaturePatch>();
49-
5048
private static int CalculateOrderScore((ContactData, bool) contactSortInfo)
5149
{
5250
var contactData = contactSortInfo.Item1;

FlexibleContactsSort/FlexibleContactsSort.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.19.2-beta" />
33-
<PackageReference Include="PolySharp" Version="1.14.1">
32+
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.24.1-beta" />
33+
<PackageReference Include="PolySharp" Version="1.15.0">
3434
<PrivateAssets>all</PrivateAssets>
3535
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3636
</PackageReference>
37-
<PackageReference Include="Resonite.Elements.Core" Version="1.2.1" />
38-
<PackageReference Include="Resonite.Elements.Quantity" Version="1.2.1" />
39-
<PackageReference Include="Resonite.FrooxEngine" Version="2024.8.6.1341" />
40-
<PackageReference Include="Resonite.SkyFrost.Base" Version="2.0.1" />
41-
<PackageReference Include="Resonite.SkyFrost.Base.Models" Version="2.0.1" />
37+
<PackageReference Include="Resonite.Elements.Core" Version="1.4.9.4" />
38+
<PackageReference Include="Resonite.Elements.Quantity" Version="1.2.3" />
39+
<PackageReference Include="Resonite.FrooxEngine" Version="2025.8.25.222" />
40+
<PackageReference Include="Resonite.SkyFrost.Base" Version="2.1.0" />
41+
<PackageReference Include="Resonite.SkyFrost.Base.Models" Version="2.1.5" />
4242
</ItemGroup>
4343
</Project>

FlexibleContactsSort/SessionUserCapacity.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ internal sealed class SessionUserCapacity : ConfiguredResoniteMonkey<SessionUser
1818
{
1919
public override bool CanBeDisabled => true;
2020

21-
protected override IEnumerable<IFeaturePatch> GetFeaturePatches() => Enumerable.Empty<IFeaturePatch>();
22-
2321
private static void Postfix(SessionItem __instance, SessionInfo session)
2422
{
2523
if (!Enabled)

0 commit comments

Comments
 (0)