Move Il2Cpp core libraries to NuGet package

This commit is contained in:
ghorsington committed 2021-01-13 22:23:11 +02:00
1 parent 79ed09431e
commit c022857761
5 files changed
+7 -15

No files matched your search

+1 -7
View File
@@ -17,13 +17,6 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine.CoreModule-IL2CPP">
<HintPath>..\lib\UnityEngine.CoreModule-IL2CPP.dll</HintPath>
<Private>False</Private>
<Aliases>il2cpp</Aliases>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj" />
<ProjectReference Include="..\BepInEx.Preloader.Core\BepInEx.Preloader.Core.csproj" />
@@ -36,6 +29,7 @@
<PackageReference Include="Il2CppAssemblyUnhollower.BaseLib.Legacy" Version="0.4.10" />
<PackageReference Include="Il2CppAssemblyUnhollower.Tool" Version="0.4.11" />
<PackageReference Include="Il2CppDumper" Version="1.0.0" />
<PackageReference Include="Il2CppReferenceLibs.Core" Version="1.0.0" IncludeAssets="compile" />
<PackageReference Include="MonoMod.RuntimeDetour" Version="20.11.26.2" />
</ItemGroup>
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared" />
+4 -5
View File
@@ -1,6 +1,4 @@
extern alias il2cpp;
using System;
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
@@ -16,7 +14,8 @@ using HarmonyLib.Public.Patching;
using Il2Cpp.TlsAdapter;
using UnhollowerBaseLib.Runtime;
using UnhollowerRuntimeLib;
using IL2CPPUnityEngine = il2cpp::UnityEngine;
using UnityEngine;
using Logger = BepInEx.Logging.Logger;
namespace BepInEx.IL2CPP
{
@@ -107,7 +106,7 @@ namespace BepInEx.IL2CPP
{
Logger.Sources.Add(new IL2CPPUnityLogSource());
IL2CPPUnityEngine.Application.CallLogCallback("Test call after applying unity logging hook", "", IL2CPPUnityEngine.LogType.Assert, true);
Application.CallLogCallback("Test call after applying unity logging hook", "", LogType.Assert, true);
}
unhook = true;
@@ -1,7 +1,6 @@
extern alias il2cpp;
using System;
using System;
using BepInEx.Logging;
using il2cpp::UnityEngine;
using UnityEngine;
namespace BepInEx.IL2CPP.Logging
{
Binary file not shown.
Binary file not shown.