From 873bff34b8592e228f10779de67e12977e16610a Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 3 Dec 2022 01:37:13 -0500 Subject: [PATCH 1/3] Fix compatability with BepInEx BE BepInEx.IL2CPP->BepInEx.Unity.IL2CPP Requires switch to .NET 6 target --- Plugin.cs | 2 +- TaikoModStuff-Bepin6.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugin.cs b/Plugin.cs index 9d60728..eaa24f4 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -1,6 +1,6 @@ using BepInEx; #if !BEPIN_5 -using BepInEx.IL2CPP; +using BepInEx.Unity.IL2CPP; #endif using BepInEx.Configuration; using HarmonyLib; diff --git a/TaikoModStuff-Bepin6.csproj b/TaikoModStuff-Bepin6.csproj index fcb80c2..f235212 100644 --- a/TaikoModStuff-Bepin6.csproj +++ b/TaikoModStuff-Bepin6.csproj @@ -1,7 +1,7 @@  - netstandard2.1 + net6.0 TaikoModStuff My first plugin 1.3.1 @@ -15,8 +15,8 @@ - + From 1640425595d5c281a99c40e5bc84dee497297282 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 3 Dec 2022 01:39:10 -0500 Subject: [PATCH 2/3] Reference libraries from BepInEx interop folder --- TaikoModStuff-Bepin6.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TaikoModStuff-Bepin6.csproj b/TaikoModStuff-Bepin6.csproj index f235212..1ce60aa 100644 --- a/TaikoModStuff-Bepin6.csproj +++ b/TaikoModStuff-Bepin6.csproj @@ -26,15 +26,15 @@ - lib\Assembly-CSharp.dll + C:\XboxGames\T Tablet\Content\BepInEx\interop\Assembly-CSharp.dll False - lib\Il2Cppmscorlib.dll + C:\XboxGames\T Tablet\Content\BepInEx\interop\Il2Cppmscorlib.dll False - lib\UnityEngine.CoreModule.dll + C:\XboxGames\T Tablet\Content\BepInEx\interop\UnityEngine.CoreModule.dll False From 67d0a4e2324ec06c569b41ccfb109355232531a2 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 23 Dec 2022 17:31:57 -0500 Subject: [PATCH 3/3] Revert "Reference libraries from BepInEx interop folder" This reverts commit 1640425595d5c281a99c40e5bc84dee497297282. --- TaikoModStuff-Bepin6.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TaikoModStuff-Bepin6.csproj b/TaikoModStuff-Bepin6.csproj index 1ce60aa..f235212 100644 --- a/TaikoModStuff-Bepin6.csproj +++ b/TaikoModStuff-Bepin6.csproj @@ -26,15 +26,15 @@ - C:\XboxGames\T Tablet\Content\BepInEx\interop\Assembly-CSharp.dll + lib\Assembly-CSharp.dll False - C:\XboxGames\T Tablet\Content\BepInEx\interop\Il2Cppmscorlib.dll + lib\Il2Cppmscorlib.dll False - C:\XboxGames\T Tablet\Content\BepInEx\interop\UnityEngine.CoreModule.dll + lib\UnityEngine.CoreModule.dll False