|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFramework>netstandard2.1</TargetFramework> |
| 4 | + <TargetFramework>net6.0</TargetFramework> |
5 | 5 | <LangVersion>8.0</LangVersion> |
6 | | - <UseWindowsForms>true</UseWindowsForms> |
7 | 6 | </PropertyGroup> |
8 | 7 |
|
9 | 8 | <ItemGroup> |
|
12 | 11 | <None Remove="Content\**" /> |
13 | 12 | </ItemGroup> |
14 | 13 |
|
| 14 | + <!-- The references are currently fucked, give me a minute to fix them --> |
| 15 | + |
15 | 16 | <ItemGroup> |
| 17 | + <PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.2" PrivateAssets="all" /> |
| 18 | + |
16 | 19 | <Reference Include="0Harmony"> |
17 | | - <HintPath>$(BepInExAssemblyPath)\0Harmony.dll</HintPath> |
18 | | - </Reference> |
19 | | - <Reference Include="AsmResolver"> |
20 | | - <HintPath>$(BepInExAssemblyPath)\AsmResolver.dll</HintPath> |
21 | | - </Reference> |
22 | | - <Reference Include="AsmResolver.DotNet"> |
23 | | - <HintPath>$(BepInExAssemblyPath)\AsmResolver.DotNet.dll</HintPath> |
| 20 | + <HintPath>$(MelonAssemblyPath)\0Harmony.dll</HintPath> |
24 | 21 | </Reference> |
25 | | - <Reference Include="AsmResolver.PE"> |
26 | | - <HintPath>$(BepInExAssemblyPath)\AsmResolver.PE.dll</HintPath> |
27 | | - </Reference> |
28 | | - <Reference Include="AsmResolver.PE.File"> |
29 | | - <HintPath>$(BepInExAssemblyPath)\AsmResolver.PE.File.dll</HintPath> |
30 | | - </Reference> |
31 | | - <Reference Include="Assembly-CSharp"> |
| 22 | + |
| 23 | + <Reference Include="Assembly-CSharp" Publicize="true"> |
32 | 24 | <HintPath>$(GameAssemblyPath)\Assembly-CSharp.dll</HintPath> |
33 | 25 | </Reference> |
34 | | - <Reference Include="AssetRipper.CIL"> |
35 | | - <HintPath>$(BepInExAssemblyPath)\AssetRipper.CIL.dll</HintPath> |
36 | | - </Reference> |
| 26 | + <!-- Publicizing makes all of the fields and methods in the assembly public so you can use them. Don't abuse it! --> |
37 | 27 | <Reference Include="AssetRipper.Primitives"> |
38 | | - <HintPath>$(BepInExAssemblyPath)\AssetRipper.Primitives.dll</HintPath> |
39 | | - </Reference> |
40 | | - <Reference Include="BepInEx"> |
41 | | - <HintPath>$(BepInExAssemblyPath)\BepInEx.Core.dll</HintPath> |
42 | | - </Reference> |
43 | | - <Reference Include="BepInEx.Preloader.Core"> |
44 | | - <HintPath>$(BepInExAssemblyPath)\BepInEx.Preloader.Core.dll</HintPath> |
45 | | - </Reference> |
46 | | - <Reference Include="BepInEx.Unity.Common"> |
47 | | - <HintPath>$(BepInExAssemblyPath)\BepInEx.Unity.Common.dll</HintPath> |
48 | | - </Reference> |
49 | | - <Reference Include="BepInEx.Unity.IL2CPP"> |
50 | | - <HintPath>$(BepInExAssemblyPath)\BepInEx.Unity.IL2CPP.dll</HintPath> |
51 | | - </Reference> |
52 | | - <Reference Include="Cinemachine"> |
53 | | - <HintPath>$(GameAssemblyPath)\Cinemachine.dll</HintPath> |
54 | | - </Reference> |
55 | | - <Reference Include="Cpp2IL.Core"> |
56 | | - <HintPath>$(BepInExAssemblyPath)\Cpp2IL.Core.dll</HintPath> |
57 | | - </Reference> |
58 | | - <Reference Include="Disarm"> |
59 | | - <HintPath>$(BepInExAssemblyPath)\Disarm.dll</HintPath> |
60 | | - </Reference> |
61 | | - <Reference Include="Gee.External.Capstone"> |
62 | | - <HintPath>$(BepInExAssemblyPath)\Gee.External.Capstone.dll</HintPath> |
63 | | - </Reference> |
64 | | - <Reference Include="Iced"> |
65 | | - <HintPath>$(BepInExAssemblyPath)\Iced.dll</HintPath> |
| 28 | + <HintPath>$(MelonAssemblyPath)\AssetRipper.Primitives.dll</HintPath> |
66 | 29 | </Reference> |
67 | 30 | <Reference Include="Il2CppInterop.Common"> |
68 | | - <HintPath>$(BepInExAssemblyPath)\Il2CppInterop.Common.dll</HintPath> |
| 31 | + <HintPath>$(MelonAssemblyPath)\Il2CppInterop.Common.dll</HintPath> |
69 | 32 | </Reference> |
70 | 33 | <Reference Include="Il2CppInterop.Generator"> |
71 | | - <HintPath>$(BepInExAssemblyPath)\Il2CppInterop.Generator.dll</HintPath> |
| 34 | + <HintPath>$(MelonAssemblyPath)\Il2CppInterop.Generator.dll</HintPath> |
72 | 35 | </Reference> |
73 | 36 | <Reference Include="Il2CppInterop.HarmonySupport"> |
74 | | - <HintPath>$(BepInExAssemblyPath)\Il2CppInterop.HarmonySupport.dll</HintPath> |
| 37 | + <HintPath>$(MelonAssemblyPath)\Il2CppInterop.HarmonySupport.dll</HintPath> |
75 | 38 | </Reference> |
76 | 39 | <Reference Include="Il2CppInterop.Runtime"> |
77 | | - <HintPath>$(BepInExAssemblyPath)\Il2CppInterop.Runtime.dll</HintPath> |
| 40 | + <HintPath>$(MelonAssemblyPath)\Il2CppInterop.Runtime.dll</HintPath> |
78 | 41 | </Reference> |
79 | 42 | <Reference Include="Il2Cppmscorlib"> |
80 | 43 | <HintPath>$(GameAssemblyPath)\Il2Cppmscorlib.dll</HintPath> |
81 | 44 | </Reference> |
82 | | - <Reference Include="LibCpp2IL"> |
83 | | - <HintPath>$(BepInExAssemblyPath)\LibCpp2IL.dll</HintPath> |
84 | | - </Reference> |
85 | 45 | <Reference Include="MelonLoader"> |
86 | | - <HintPath>..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Capuchin\MelonLoader\net35\MelonLoader.dll</HintPath> |
87 | | - </Reference> |
88 | | - <Reference Include="Mono.Cecil"> |
89 | | - <HintPath>$(BepInExAssemblyPath)\Mono.Cecil.dll</HintPath> |
90 | | - </Reference> |
91 | | - <Reference Include="Mono.Cecil.Mdb"> |
92 | | - <HintPath>$(BepInExAssemblyPath)\Mono.Cecil.Mdb.dll</HintPath> |
93 | | - </Reference> |
94 | | - <Reference Include="Mono.Cecil.Pdb"> |
95 | | - <HintPath>$(BepInExAssemblyPath)\Mono.Cecil.Pdb.dll</HintPath> |
96 | | - </Reference> |
97 | | - <Reference Include="Mono.Cecil.Rocks"> |
98 | | - <HintPath>$(BepInExAssemblyPath)\Mono.Cecil.Rocks.dll</HintPath> |
99 | | - </Reference> |
100 | | - <Reference Include="MonoMod.RuntimeDetour"> |
101 | | - <HintPath>$(BepInExAssemblyPath)\MonoMod.RuntimeDetour.dll</HintPath> |
102 | | - </Reference> |
103 | | - <Reference Include="MonoMod.Utils"> |
104 | | - <HintPath>$(BepInExAssemblyPath)\MonoMod.Utils.dll</HintPath> |
105 | | - </Reference> |
106 | | - <Reference Include="SemanticVersioning"> |
107 | | - <HintPath>$(BepInExAssemblyPath)\SemanticVersioning.dll</HintPath> |
108 | | - </Reference> |
109 | | - <Reference Include="StableNameDotNet"> |
110 | | - <HintPath>$(BepInExAssemblyPath)\StableNameDotNet.dll</HintPath> |
| 46 | + <HintPath>$(MelonAssemblyPath)\MelonLoader.dll</HintPath> |
111 | 47 | </Reference> |
112 | 48 | <Reference Include="Unity.InputSystem"> |
113 | 49 | <HintPath>$(GameAssemblyPath)\Unity.InputSystem.dll</HintPath> |
|
136 | 72 | <Reference Include="UnityEngine.ClothModule"> |
137 | 73 | <HintPath>$(GameAssemblyPath)\UnityEngine.ClothModule.dll</HintPath> |
138 | 74 | </Reference> |
139 | | - <Reference Include="UnityEngine.ClusterInputModule"> |
140 | | - <HintPath>$(GameAssemblyPath)\UnityEngine.ClusterInputModule.dll</HintPath> |
141 | | - </Reference> |
142 | | - <Reference Include="UnityEngine.ClusterRendererModule"> |
143 | | - <HintPath>$(GameAssemblyPath)\UnityEngine.ClusterRendererModule.dll</HintPath> |
144 | | - </Reference> |
145 | 75 | <Reference Include="UnityEngine.CoreModule"> |
146 | | - <HintPath>$(GameAssemblyPath)\UnityEngine.CoreModule.dll</HintPath> |
| 76 | + <HintPath>$(GameAssemblyPath)\UnityEngine.CoreModule.dll</HintPath> |
147 | 77 | </Reference> |
148 | 78 | <Reference Include="UnityEngine.CrashReportingModule"> |
149 | 79 | <HintPath>$(GameAssemblyPath)\UnityEngine.CrashReportingModule.dll</HintPath> |
|
301 | 231 | <Reference Include="UnityEngine.VideoModule"> |
302 | 232 | <HintPath>$(GameAssemblyPath)\UnityEngine.VideoModule.dll</HintPath> |
303 | 233 | </Reference> |
304 | | - <Reference Include="UnityEngine.VirtualTexturingModule"> |
305 | | - <HintPath>$(GameAssemblyPath)\UnityEngine.VirtualTexturingModule.dll</HintPath> |
306 | | - </Reference> |
307 | 234 | <Reference Include="UnityEngine.VRModule"> |
308 | 235 | <HintPath>$(GameAssemblyPath)\UnityEngine.VRModule.dll</HintPath> |
309 | 236 | </Reference> |
|
313 | 240 | <Reference Include="UnityEngine.XRModule"> |
314 | 241 | <HintPath>$(GameAssemblyPath)\UnityEngine.XRModule.dll</HintPath> |
315 | 242 | </Reference> |
316 | | - <Reference Include="WasmDisassembler"> |
317 | | - <HintPath>$(BepInExAssemblyPath)\WasmDisassembler.dll</HintPath> |
318 | | - </Reference> |
319 | 243 | </ItemGroup> |
320 | 244 | </Project> |
0 commit comments