Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit eaf478e

Browse files
committed
Using temporary manual HarmonyX reference
1 parent d391968 commit eaf478e

10 files changed

+24
-43
lines changed

lib/HarmonyX/0Harmony.dll

183 KB
Binary file not shown.

lib/HarmonyX/Mono.Cecil.Mdb.dll

42 KB
Binary file not shown.

lib/HarmonyX/Mono.Cecil.Pdb.dll

84.5 KB
Binary file not shown.

lib/HarmonyX/Mono.Cecil.Rocks.dll

27 KB
Binary file not shown.

lib/HarmonyX/Mono.Cecil.dll

332 KB
Binary file not shown.
100 KB
Binary file not shown.

lib/HarmonyX/MonoMod.Utils.dll

176 KB
Binary file not shown.

src/ILRepack.targets

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@
1111

1212
<!-- MonoMod for MelonLoader 0.3.0 -->
1313
<ItemGroup Condition="'$(IsMelonLoaderLegacy)'=='true'">
14-
<InputAssemblies Include="..\lib\HarmonyX\Harmony\bin\Release\net45\Mono.Cecil.dll" />
15-
<InputAssemblies Include="..\lib\HarmonyX\Harmony\bin\Release\net45\Mono.Cecil.Mdb.dll" />
16-
<InputAssemblies Include="..\lib\HarmonyX\Harmony\bin\Release\net45\Mono.Cecil.Pdb.dll" />
17-
<InputAssemblies Include="..\lib\HarmonyX\Harmony\bin\Release\net45\Mono.Cecil.Rocks.dll" />
18-
<InputAssemblies Include="..\lib\HarmonyX\Harmony\bin\Release\net45\MonoMod.RuntimeDetour.dll" />
19-
<InputAssemblies Include="..\lib\HarmonyX\Harmony\bin\Release\net45\MonoMod.Utils.dll" />
14+
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.dll" />
15+
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.Mdb.dll" />
16+
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.Pdb.dll" />
17+
<InputAssemblies Include="..\lib\HarmonyX\Mono.Cecil.Rocks.dll" />
18+
<InputAssemblies Include="..\lib\HarmonyX\MonoMod.RuntimeDetour.dll" />
19+
<InputAssemblies Include="..\lib\HarmonyX\MonoMod.Utils.dll" />
2020
</ItemGroup>
2121

2222
<!-- Required references for ILRepack -->
2323
<ItemGroup>
24-
<ReferenceFolders Include="..\lib\" />
25-
<ReferenceFolders Include="..\lib\HarmonyX\Harmony\bin\Release\net35\" />
24+
<ReferenceFolders Include="..\lib\HarmonyX" />
2625
<ReferenceFolders Include="..\lib\BepInEx.6.IL2CPP\" />
2726
<ReferenceFolders Include="..\lib\BepInEx.6.Mono\" />
2827
<ReferenceFolders Include="..\lib\BepInEx.5\" />

src/UnityExplorer.csproj

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -113,34 +113,6 @@
113113
</PropertyGroup>
114114
<!-- Global refs, Mono and Il2Cpp -->
115115
<ItemGroup>
116-
<Reference Include="0Harmony">
117-
<HintPath>packages\HarmonyX.2.4.2\lib\net35\0Harmony.dll</HintPath>
118-
<Private>False</Private>
119-
</Reference>
120-
<Reference Include="Mono.Cecil">
121-
<HintPath>packages\Mono.Cecil.0.10.4\lib\net35\Mono.Cecil.dll</HintPath>
122-
<Private>False</Private>
123-
</Reference>
124-
<Reference Include="Mono.Cecil.Mdb">
125-
<HintPath>packages\Mono.Cecil.0.10.4\lib\net35\Mono.Cecil.Mdb.dll</HintPath>
126-
<Private>False</Private>
127-
</Reference>
128-
<Reference Include="Mono.Cecil.Pdb">
129-
<HintPath>packages\Mono.Cecil.0.10.4\lib\net35\Mono.Cecil.Pdb.dll</HintPath>
130-
<Private>False</Private>
131-
</Reference>
132-
<Reference Include="Mono.Cecil.Rocks">
133-
<HintPath>packages\Mono.Cecil.0.10.4\lib\net35\Mono.Cecil.Rocks.dll</HintPath>
134-
<Private>False</Private>
135-
</Reference>
136-
<Reference Include="MonoMod.RuntimeDetour">
137-
<HintPath>packages\MonoMod.RuntimeDetour.21.4.21.3\lib\net35\MonoMod.RuntimeDetour.dll</HintPath>
138-
<Private>False</Private>
139-
</Reference>
140-
<Reference Include="MonoMod.Utils">
141-
<HintPath>packages\MonoMod.Utils.21.4.21.3\lib\net35\MonoMod.Utils.dll</HintPath>
142-
<Private>False</Private>
143-
</Reference>
144116
<Reference Include="System" />
145117
<Reference Include="System.Core" />
146118
<Reference Include="System.Xml.Linq" />
@@ -170,6 +142,13 @@
170142
<Private>False</Private>
171143
</Reference>
172144
</ItemGroup>
145+
<!-- BepInEx universal refs -->
146+
<ItemGroup Condition="'$(IsBepInEx)'=='true'">
147+
<Reference Include="0Harmony">
148+
<HintPath>..\lib\HarmonyX\0Harmony.dll</HintPath>
149+
<Private>False</Private>
150+
</Reference>
151+
</ItemGroup>
173152
<!-- BepInEx 5 Mono refs -->
174153
<ItemGroup Condition="'$(IsBepInEx)|$(IsCpp)|$(Configuration)'=='true|false|Release_BIE5_Mono'">
175154
<Reference Include="BepInEx">
@@ -199,6 +178,13 @@
199178
<Private>False</Private>
200179
</Reference>
201180
</ItemGroup>
181+
<!-- Standalone refs -->
182+
<ItemGroup Condition="'$(IsStandalone)'=='true'">
183+
<Reference Include="0Harmony">
184+
<HintPath>..\lib\HarmonyX\0Harmony.dll</HintPath>
185+
<Private>False</Private>
186+
</Reference>
187+
</ItemGroup>
202188
<!-- Mono refs -->
203189
<ItemGroup Condition="'$(IsCpp)'=='false'">
204190
<Reference Include="UnityEngine">
@@ -380,11 +366,11 @@
380366
</ItemGroup>
381367
<ItemGroup />
382368
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
383-
<Import Project="packages\ILRepack.Lib.MSBuild.Task.2.0.18.1\build\ILRepack.Lib.MSBuild.Task.targets" Condition="Exists('packages\ILRepack.Lib.MSBuild.Task.2.0.18.1\build\ILRepack.Lib.MSBuild.Task.targets')" />
369+
<Import Project="packages\ILRepack.Lib.MSBuild.Task.2.0.18.2\build\ILRepack.Lib.MSBuild.Task.targets" Condition="Exists('packages\ILRepack.Lib.MSBuild.Task.2.0.18.2\build\ILRepack.Lib.MSBuild.Task.targets')" />
384370
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
385371
<PropertyGroup>
386372
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
387373
</PropertyGroup>
388-
<Error Condition="!Exists('packages\ILRepack.Lib.MSBuild.Task.2.0.18.1\build\ILRepack.Lib.MSBuild.Task.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\ILRepack.Lib.MSBuild.Task.2.0.18.1\build\ILRepack.Lib.MSBuild.Task.targets'))" />
374+
<Error Condition="!Exists('packages\ILRepack.Lib.MSBuild.Task.2.0.18.2\build\ILRepack.Lib.MSBuild.Task.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\ILRepack.Lib.MSBuild.Task.2.0.18.2\build\ILRepack.Lib.MSBuild.Task.targets'))" />
389375
</Target>
390376
</Project>

src/packages.config

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="HarmonyX" version="2.4.2" targetFramework="net35" />
4-
<package id="ILRepack.Lib.MSBuild.Task" version="2.0.18.1" targetFramework="net472" />
3+
<package id="ILRepack.Lib.MSBuild.Task" version="2.0.18.2" targetFramework="net35" />
54
<package id="ini-parser" version="2.5.2" targetFramework="net35" />
6-
<package id="Mono.Cecil" version="0.10.4" targetFramework="net35" />
7-
<package id="MonoMod.RuntimeDetour" version="21.4.21.3" targetFramework="net35" />
8-
<package id="MonoMod.Utils" version="21.4.21.3" targetFramework="net35" />
95
</packages>

0 commit comments

Comments
 (0)