113
113
</PropertyGroup >
114
114
<!-- Global refs, Mono and Il2Cpp -->
115
115
<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 >
144
116
<Reference Include =" System" />
145
117
<Reference Include =" System.Core" />
146
118
<Reference Include =" System.Xml.Linq" />
170
142
<Private >False</Private >
171
143
</Reference >
172
144
</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 >
173
152
<!-- BepInEx 5 Mono refs -->
174
153
<ItemGroup Condition =" '$(IsBepInEx)|$(IsCpp)|$(Configuration)'=='true|false|Release_BIE5_Mono'" >
175
154
<Reference Include =" BepInEx" >
199
178
<Private >False</Private >
200
179
</Reference >
201
180
</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 >
202
188
<!-- Mono refs -->
203
189
<ItemGroup Condition =" '$(IsCpp)'=='false'" >
204
190
<Reference Include =" UnityEngine" >
380
366
</ItemGroup >
381
367
<ItemGroup />
382
368
<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')" />
384
370
<Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
385
371
<PropertyGroup >
386
372
<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 >
387
373
</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'))" />
389
375
</Target >
390
376
</Project >
0 commit comments