From 14eebbab410a2ee90b07548987e1748a7991cb2e Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sat, 2 Mar 2024 17:56:21 +0200 Subject: [PATCH] Added pdb generation (#588) * Added pdb generation * for Thin they are embedded * for Fat they are portable * Excluded ILRepack target from Thin * Exclude the secondary System.Reflection.* packages from NuGet --- Harmony/Harmony.csproj | 29 ++++++++++++++++++++++------- ILRepack.targets | 5 +++++ 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/Harmony/Harmony.csproj b/Harmony/Harmony.csproj index 430ecefc..9fb4d0e2 100644 --- a/Harmony/Harmony.csproj +++ b/Harmony/Harmony.csproj @@ -35,8 +35,8 @@ DebugThin;DebugFat;ReleaseThin;ReleaseFat true true - true - snupkg + true + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb @@ -59,10 +59,18 @@ DEBUG - + + true + embedded + true + $(SolutionDir)ILRepack.targets + True + + + true portable - false + true $(SolutionDir)ILRepack.targets True @@ -93,9 +101,9 @@ - - - + + + @@ -138,6 +146,13 @@ + + + + + + + diff --git a/ILRepack.targets b/ILRepack.targets index 2c17e5a4..ca906eb9 100644 --- a/ILRepack.targets +++ b/ILRepack.targets @@ -1,12 +1,17 @@ + + false + true +