|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | | - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/> |
| 3 | + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 4 | <PropertyGroup> |
5 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
36 | 36 | <DebugSymbols>true</DebugSymbols> |
37 | 37 | </PropertyGroup> |
38 | 38 | <ItemGroup> |
39 | | - <Reference Include="0Harmony, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
40 | | - <HintPath>..\..\packages\HarmonyX.2.0.6\lib\net35\0Harmony.dll</HintPath> |
41 | | - <Private>False</Private> |
| 39 | + <Reference Include="0Harmony, Version=2.5.5.0, Culture=neutral, PublicKeyToken=null"> |
| 40 | + <HintPath>..\..\packages\HarmonyX.2.5.5\lib\net35\0Harmony.dll</HintPath> |
| 41 | + <Private>False</Private> |
42 | 42 | </Reference> |
43 | | - <Reference Include="BepInEx, Version=5.3.0.0, Culture=neutral, processorArchitecture=MSIL"> |
44 | | - <HintPath>..\..\packages\BepInEx.Core.5.3.0.2\lib\net35\BepInEx.dll</HintPath> |
45 | | - <Private>False</Private> |
| 43 | + <Reference Include="BepInEx, Version=5.4.15.0, Culture=neutral, PublicKeyToken=null"> |
| 44 | + <HintPath>..\..\packages\BepInEx.BaseLib.5.4.16\lib\net35\BepInEx.dll</HintPath> |
| 45 | + <Private>False</Private> |
46 | 46 | </Reference> |
47 | 47 | <Reference Include="Mono.Cecil, Version=0.10.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e"> |
48 | 48 | <HintPath>..\..\packages\Mono.Cecil.0.10.4\lib\net35\Mono.Cecil.dll</HintPath> |
|
60 | 60 | <HintPath>..\..\packages\Mono.Cecil.0.10.4\lib\net35\Mono.Cecil.Rocks.dll</HintPath> |
61 | 61 | <Private>False</Private> |
62 | 62 | </Reference> |
63 | | - <Reference Include="MonoMod.RuntimeDetour, Version=20.5.21.5, Culture=neutral, processorArchitecture=MSIL"> |
64 | | - <HintPath>..\..\packages\MonoMod.RuntimeDetour.20.5.21.5\lib\net35\MonoMod.RuntimeDetour.dll</HintPath> |
65 | | - <Private>False</Private> |
| 63 | + <Reference Include="MonoMod.RuntimeDetour, Version=21.8.19.1, Culture=neutral, PublicKeyToken=null"> |
| 64 | + <HintPath>..\..\packages\MonoMod.RuntimeDetour.21.8.19.1\lib\net35\MonoMod.RuntimeDetour.dll</HintPath> |
| 65 | + <Private>False</Private> |
66 | 66 | </Reference> |
67 | | - <Reference Include="MonoMod.Utils, Version=20.5.21.5, Culture=neutral, processorArchitecture=MSIL"> |
68 | | - <HintPath>..\..\packages\MonoMod.Utils.20.5.21.5\lib\net35\MonoMod.Utils.dll</HintPath> |
69 | | - <Private>False</Private> |
| 67 | + <Reference Include="MonoMod.Utils, Version=21.8.19.1, Culture=neutral, PublicKeyToken=null"> |
| 68 | + <HintPath>..\..\packages\MonoMod.Utils.21.8.19.1\lib\net35\MonoMod.Utils.dll</HintPath> |
| 69 | + <Private>False</Private> |
70 | 70 | </Reference> |
71 | | - <Reference Include="System"/> |
72 | | - <Reference Include="System.Core"/> |
73 | | - <Reference Include="System.Data"/> |
74 | | - <Reference Include="System.Xml"/> |
| 71 | + <Reference Include="System" /> |
| 72 | + <Reference Include="System.Core" /> |
| 73 | + <Reference Include="System.Data" /> |
| 74 | + <Reference Include="System.Xml" /> |
75 | 75 | </ItemGroup> |
76 | 76 | <ItemGroup> |
77 | | - <Compile Include="InternalUnityLogger.cs"/> |
78 | | - <Compile Include="Platforms\PatcherBase.cs"/> |
79 | | - <Compile Include="Platforms\X64Patcher.cs"/> |
80 | | - <Compile Include="Platforms\X86Patcher.cs"/> |
81 | | - <Compile Include="MirrorInternalLogsPatcher.cs"/> |
82 | | - <Compile Include="Properties\AssemblyInfo.cs"/> |
83 | | - <Compile Include="Util\BytePattern.cs"/> |
84 | | - <Compile Include="Util\InternalLogPatch.cs"/> |
85 | | - <Compile Include="Util\LibcHelper.cs"/> |
86 | | - <Compile Include="Util\StringExtensions.cs"/> |
| 77 | + <Compile Include="InternalUnityLogger.cs" /> |
| 78 | + <Compile Include="Platforms\PatcherBase.cs" /> |
| 79 | + <Compile Include="Platforms\X64Patcher.cs" /> |
| 80 | + <Compile Include="Platforms\X86Patcher.cs" /> |
| 81 | + <Compile Include="MirrorInternalLogsPatcher.cs" /> |
| 82 | + <Compile Include="Properties\AssemblyInfo.cs" /> |
| 83 | + <Compile Include="Util\BytePattern.cs" /> |
| 84 | + <Compile Include="Util\InternalLogPatch.cs" /> |
| 85 | + <Compile Include="Util\LibcHelper.cs" /> |
| 86 | + <Compile Include="Util\StringExtensions.cs" /> |
87 | 87 | </ItemGroup> |
88 | 88 | <ItemGroup> |
89 | | - <None Include="packages.config"/> |
| 89 | + <None Include="packages.config" /> |
90 | 90 | </ItemGroup> |
91 | | - <Import Project="..\Common\Common.projitems" Label="Shared"/> |
92 | | - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/> |
| 91 | + <Import Project="..\Common\Common.projitems" Label="Shared" /> |
| 92 | + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 93 | + <Import Project="..\..\packages\BepInEx.Core.5.4.16\build\BepInEx.Core.targets" Condition="Exists('..\..\packages\BepInEx.Core.5.4.16\build\BepInEx.Core.targets')" /> |
| 94 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 95 | + <PropertyGroup> |
| 96 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText> |
| 97 | + </PropertyGroup> |
| 98 | + <Error Condition="!Exists('..\..\packages\BepInEx.Core.5.4.16\build\BepInEx.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\BepInEx.Core.5.4.16\build\BepInEx.Core.targets'))" /> |
| 99 | + </Target> |
93 | 100 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
94 | 101 | Other similar extension points exist, see Microsoft.Common.targets. |
95 | 102 | <Target Name="BeforeBuild"> |
|
0 commit comments