From 31aa9b69c609bd241a026e38d6999a32f5369a79 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Fri, 7 Apr 2023 15:22:52 +0300 Subject: [PATCH 1/3] Added netstandard2.0 reference assemblies support --- Harmony/Harmony.csproj | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Harmony/Harmony.csproj b/Harmony/Harmony.csproj index 1018a569..2a42b555 100644 --- a/Harmony/Harmony.csproj +++ b/Harmony/Harmony.csproj @@ -1,7 +1,7 @@ - net35;net452;net472;net48;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0 + netstandard2.0;net35;net452;net472;net48;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0 true Harmony Andreas Pardeike @@ -133,6 +133,15 @@ --> + + + true + + + + + + From 4d9ae80e5c0996cd8f27b8f1feacc7de6ef78fa1 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Fri, 7 Apr 2023 15:34:53 +0300 Subject: [PATCH 2/3] Replaced /lib to /ref for netstandard --- Harmony/Harmony.csproj | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Harmony/Harmony.csproj b/Harmony/Harmony.csproj index 2a42b555..f12096ce 100644 --- a/Harmony/Harmony.csproj +++ b/Harmony/Harmony.csproj @@ -135,12 +135,29 @@ + + false + true + + $(TargetsForTfmSpecificContentInPackage);AddRefAssemblyToPackage + + + + + + ref/netstandard2.0 + + + ref/netstandard2.0 + + + From be81a545eead7040753c2c8987106e7873191068 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Fri, 7 Apr 2023 15:45:33 +0300 Subject: [PATCH 3/3] Removed System.Reflection.Emit.Lightweight Made System.Reflection.Emit a public dependency due to the Label type --- Harmony/Harmony.csproj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Harmony/Harmony.csproj b/Harmony/Harmony.csproj index f12096ce..8fdf3653 100644 --- a/Harmony/Harmony.csproj +++ b/Harmony/Harmony.csproj @@ -143,9 +143,8 @@ $(TargetsForTfmSpecificContentInPackage);AddRefAssemblyToPackage - - - + +