summary refs log tree commit diff
diff options
context:
space:
mode:
-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-->