Skip to content

Commit 84fa4a0

Browse files
Updated to .NET 10
1 parent d300b84 commit 84fa4a0

3 files changed

Lines changed: 31 additions & 20 deletions

File tree

InspectorScroll/InspectorScroll.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ public class InspectorScroll : ResoniteMod
88
{
99
public override string Name => "InspectorScroll";
1010
public override string Author => "art0007i";
11-
public override string Version => "2.0.0";
12-
public override string Link => "https://github.com/art0007i/InspectorScroll/";
11+
public override string Version => "3.0.0";
12+
public override string Link => "https://github.com/ShadowDragon128/InspectorScroll/";
1313

1414
[AutoRegisterConfigKey]
1515
public static ModConfigurationKey<float> KEY_SPEED = new ModConfigurationKey<float>("scroll_speed", "How fast you scroll, default is 120.", () => 120);
1616
public static ModConfiguration config;
1717

1818
public override void OnEngineInit()
1919
{
20-
Harmony harmony = new Harmony("me.art0007i.InspectorScroll");
20+
Harmony harmony = new Harmony("usmx.ShadowAPI.InspectorScroll");
2121
harmony.PatchAll();
2222
config = GetConfiguration();
2323
}

InspectorScroll/InspectorScroll.csproj

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
<RootNamespace>InspectorScroll</RootNamespace>
77
<AssemblyTitle>InspectorScroll</AssemblyTitle>
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
9-
<TargetFramework>net472</TargetFramework>
10-
<FileAlignment>512</FileAlignment>
9+
<TargetFramework>net10.0</TargetFramework>
1110
<Deterministic>true</Deterministic>
1211
<GamePath>$(MSBuildThisFileDirectory)Resonite</GamePath>
1312
<GamePath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\Resonite\')">C:\Program Files (x86)\Steam\steamapps\common\Resonite\</GamePath>
@@ -17,27 +16,39 @@
1716
<CopyToMods Condition="'$(CopyToMods)'==''">true</CopyToMods>
1817
<DebugSymbols Condition="'$(Configuration)'=='Release'">false</DebugSymbols>
1918
<DebugType Condition="'$(Configuration)'=='Release'">None</DebugType>
19+
<AssemblyVersion>3.0.0</AssemblyVersion>
20+
<FileVersion>3.0.0</FileVersion>
2021
</PropertyGroup>
2122

23+
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToMods)'=='true'">
24+
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(GamePath)rml_mods" />
25+
<Message Text="Copied $(TargetFileName) to $(GamePath)rml_mods" Importance="high" />
26+
</Target>
27+
2228
<ItemGroup>
23-
<Reference Include="HarmonyLib">
24-
<HintPath>$(GamePath)rml_libs\0Harmony.dll</HintPath>
25-
<HintPath Condition="Exists('$(GamePath)0Harmony.dll')">$(GamePath)0Harmony.dll</HintPath>
29+
<Reference Include="0Harmony">
30+
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Resonite\MonkeyLoader\0Harmony.dll</HintPath>
31+
<Private>False</Private>
2632
</Reference>
2733
<Reference Include="Elements.Core">
28-
<HintPath>$(GamePath)Resonite_Data\Managed\Elements.Core.dll</HintPath>
34+
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Resonite\Elements.Core.dll</HintPath>
35+
<Private>False</Private>
2936
</Reference>
3037
<Reference Include="FrooxEngine">
31-
<HintPath>$(GamePath)Resonite_Data\Managed\FrooxEngine.dll</HintPath>
38+
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Resonite\FrooxEngine.dll</HintPath>
39+
<Private>False</Private>
40+
</Reference>
41+
<Reference Include="MonkeyLoader">
42+
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Resonite\MonkeyLoader\MonkeyLoader.dll</HintPath>
43+
<Private>False</Private>
44+
</Reference>
45+
<Reference Include="Renderite.Shared">
46+
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Resonite\Renderite.Shared.dll</HintPath>
47+
<Private>False</Private>
3248
</Reference>
3349
<Reference Include="ResoniteModLoader">
34-
<HintPath>$(GamePath)ResoniteModLoader.dll</HintPath>
35-
<HintPath>$(GamePath)Libraries\ResoniteModLoader.dll</HintPath>
50+
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Resonite\Libraries\ResoniteModLoader.dll</HintPath>
51+
<Private>False</Private>
3652
</Reference>
3753
</ItemGroup>
38-
39-
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToMods)'=='true'">
40-
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(GamePath)rml_mods" />
41-
<Message Text="Copied $(TargetFileName) to $(GamePath)rml_mods" Importance="high" />
42-
</Target>
4354
</Project>

InspectorScroll/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[assembly: AssemblyConfiguration("")]
1010
[assembly: AssemblyCompany("")]
1111
[assembly: AssemblyProduct("InspectorScroll")]
12-
[assembly: AssemblyCopyright("Copyright © 2023")]
12+
[assembly: AssemblyCopyright("Copyright © 2025")]
1313
[assembly: AssemblyTrademark("")]
1414
[assembly: AssemblyCulture("")]
1515

@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("2.0.0")]
35-
[assembly: AssemblyFileVersion("2.0.0")]
34+
[assembly: AssemblyVersion("3.0.0")]
35+
[assembly: AssemblyFileVersion("3.0.0")]

0 commit comments

Comments
 (0)