From 84232cfe3fc1c0211e567cea92668ce9a632c87d Mon Sep 17 00:00:00 2001 From: uniblab Date: Sun, 4 May 2025 17:44:53 -0400 Subject: [PATCH 1/2] Add all netframework 4.6.1+ Add all net 6+ TODO troubleshoot netstandard, netcore --- crypto/src/BouncyCastle.Crypto.csproj | 213 ++++++++++--------- crypto/test/BouncyCastle.Crypto.Tests.csproj | 81 +++---- 2 files changed, 150 insertions(+), 144 deletions(-) diff --git a/crypto/src/BouncyCastle.Crypto.csproj b/crypto/src/BouncyCastle.Crypto.csproj index 94f7affc3..26cd17e7f 100644 --- a/crypto/src/BouncyCastle.Crypto.csproj +++ b/crypto/src/BouncyCastle.Crypto.csproj @@ -1,114 +1,117 @@  - - net6.0;netstandard2.0;net461 - Org.BouncyCastle - ..\..\BouncyCastle.NET.snk - true - 1591 - - BouncyCastle.Cryptography - BouncyCastle.NET Cryptography ($(TargetFramework)) - Legion of the Bouncy Castle Inc. - Legion of the Bouncy Castle Inc. - Copyright © Legion of the Bouncy Castle Inc. 2000-2025 - BouncyCastle.NET is a popular cryptography library for .NET - packageIcon.png - https://www.bouncycastle.org/stable/nuget/csharp/packageIcon.png - BouncyCastle.Cryptography - MIT - https://www.bouncycastle.org/stable/nuget/csharp/website - README.md - https://www.bouncycastle.org/stable/nuget/csharp/release_notes - bouncycastle cryptography dtls encryption open-source openpgp post-quantum security tls - BouncyCastle.NET - true - BouncyCastle.NET Cryptography - Debug;Release;Publish - - - - - - true - - - - - - true - - - public - - true - snupkg - - - - - false - 2.0.0 - - - $(NoWarn);CP0003 - - + + net461;net462;net47;net471;net472;net48;net481;netstandard2.0;net6.0;net7.0;net8.0;net9.0; + + Org.BouncyCastle + ..\..\BouncyCastle.NET.snk + true + 1591 + + BouncyCastle.Cryptography + BouncyCastle.NET Cryptography ($(TargetFramework)) + Legion of the Bouncy Castle Inc. + Legion of the Bouncy Castle Inc. + Copyright © Legion of the Bouncy Castle Inc. 2000-2025 + BouncyCastle.NET is a popular cryptography library for .NET + packageIcon.png + https://www.bouncycastle.org/stable/nuget/csharp/packageIcon.png + BouncyCastle.Cryptography + MIT + https://www.bouncycastle.org/stable/nuget/csharp/website + README.md + https://www.bouncycastle.org/stable/nuget/csharp/release_notes + bouncycastle cryptography dtls encryption open-source openpgp post-quantum security tls + BouncyCastle.NET + true + BouncyCastle.NET Cryptography + Debug;Release;Publish + + + + + + true + + + + + + true + + + public + + true + snupkg + + + + + false + 2.0.0 + + + $(NoWarn);CP0003 + + - $(NoWarn);CP0002;CP0005;CP0006 - False - - - - DEBUG;TRACE - - - - - true - True - - - - - true - - true - True - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - + $(NoWarn);CP0002;CP0005;CP0006 + False + + + + DEBUG;TRACE + + + + + true + True + + + + + true + + true + True + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + diff --git a/crypto/test/BouncyCastle.Crypto.Tests.csproj b/crypto/test/BouncyCastle.Crypto.Tests.csproj index bb414731d..aef14c9f3 100644 --- a/crypto/test/BouncyCastle.Crypto.Tests.csproj +++ b/crypto/test/BouncyCastle.Crypto.Tests.csproj @@ -1,46 +1,49 @@  - - net6.0;netcoreapp3.1;net472;net461 - false - false - false - 618;1591 - Org.BouncyCastle - False - Debug;Release;Publish - + + + + net461;net462;net47;net471;net472;net48;net481;netstandard2.0;net6.0;net7.0;net8.0;net9.0; - - DEBUG;TRACE - + false + false + false + 618;1591 + Org.BouncyCastle + False + Debug;Release;Publish + - - DEBUG;TRACE - True - + + DEBUG;TRACE + - - DEBUG;TRACE - True - + + DEBUG;TRACE + True + - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - TargetFramework=netstandard2.0 - - + + DEBUG;TRACE + True + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + TargetFramework=netstandard2.0 + + From cefc1157cb4bf939e7358aa6c15ac5ecd4f296ca Mon Sep 17 00:00:00 2001 From: uniblab Date: Sun, 4 May 2025 20:42:42 -0400 Subject: [PATCH 2/2] Add & fix following net platforms: * net461 * net462 * net47 * net471 * net472 * net48 * net481 * netstandard2.0 * net6.0 * net7.0 * net8.0 * net9.0 --- crypto/src/BouncyCastle.Crypto.csproj | 2 -- crypto/test/BouncyCastle.Crypto.Tests.csproj | 2 -- 2 files changed, 4 deletions(-) diff --git a/crypto/src/BouncyCastle.Crypto.csproj b/crypto/src/BouncyCastle.Crypto.csproj index 26cd17e7f..de4757039 100644 --- a/crypto/src/BouncyCastle.Crypto.csproj +++ b/crypto/src/BouncyCastle.Crypto.csproj @@ -1,8 +1,6 @@  - - net461;net462;net47;net471;net472;net48;net481;netstandard2.0;net6.0;net7.0;net8.0;net9.0; Org.BouncyCastle diff --git a/crypto/test/BouncyCastle.Crypto.Tests.csproj b/crypto/test/BouncyCastle.Crypto.Tests.csproj index aef14c9f3..de9a5b839 100644 --- a/crypto/test/BouncyCastle.Crypto.Tests.csproj +++ b/crypto/test/BouncyCastle.Crypto.Tests.csproj @@ -1,8 +1,6 @@  - - net461;net462;net47;net471;net472;net48;net481;netstandard2.0;net6.0;net7.0;net8.0;net9.0; false