summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@david.bg>2023-01-21 14:52:45 +0200
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-16 12:42:49 +0700
commitd7c64b7d338b0f12fe1b70f9d0f73726aea647e3 (patch)
tree704c2dba3d4671688d5b95a199d668df14facd93 /crypto
parentCompress PQC embedded resources. (diff)
downloadBouncyCastle.NET-ed25519-d7c64b7d338b0f12fe1b70f9d0f73726aea647e3.tar.xz
Extract debug symbols to external package (SNUPKG).
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/BouncyCastle.Crypto.csproj16
1 files changed, 12 insertions, 4 deletions
diff --git a/crypto/src/BouncyCastle.Crypto.csproj b/crypto/src/BouncyCastle.Crypto.csproj
index 4a3485f4f..cdba0a232 100644
--- a/crypto/src/BouncyCastle.Crypto.csproj
+++ b/crypto/src/BouncyCastle.Crypto.csproj
@@ -27,10 +27,18 @@
     <Title>BouncyCastle.NET Cryptography</Title>
   </PropertyGroup>
 
-  <!--Source-Level Debugging-->
-  <PropertyGroup>
-    <DebugType>embedded</DebugType>
-    <EmbedAllSources>true</EmbedAllSources>
+  <!-- Debugging-->
+  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
+      <DebugType>full</DebugType>
+      <DebugSymbols>true</DebugSymbols>
+      <IncludeSymbols>true</IncludeSymbols>
+      <SymbolPackageFormat>snupkg</SymbolPackageFormat>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
+      <DebugType>pdbonly</DebugType>
+      <DebugSymbols>true</DebugSymbols>
+      <IncludeSymbols>true</IncludeSymbols>
+      <SymbolPackageFormat>snupkg</SymbolPackageFormat>
   </PropertyGroup>
 
   <!--Package Validation-->