From 3632bbbccfc5e516efc4a5d59888bb7165a4d900 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:21:01 -0400 Subject: [PATCH 01/10] Bump major version --- src/Custom.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Custom.Build.props b/src/Custom.Build.props index 2982c634..391a464d 100644 --- a/src/Custom.Build.props +++ b/src/Custom.Build.props @@ -1,7 +1,7 @@ - 3.1 + 4.0 minor 10.0 From c5257e647e4f8bb51c6236282b590493a0676745 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:28:13 -0400 Subject: [PATCH 02/10] Update to NServiceBus 9 --- src/Custom.Build.props | 1 - .../NServiceBus.Storage.MongoDB.AcceptanceTests.csproj | 6 +++--- ...ServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj | 6 +++--- .../NServiceBus.Storage.MongoDB.PersistenceTests.csproj | 6 +++--- .../NServiceBus.Storage.MongoDB.Tests.csproj | 6 +++--- ...ge.MongoDB.TransactionalSession.AcceptanceTests.csproj | 8 ++++---- ...eBus.Storage.MongoDB.TransactionalSession.Tests.csproj | 4 ++-- ...ServiceBus.Storage.MongoDB.TransactionalSession.csproj | 6 +++--- .../NServiceBus.Storage.MongoDB.csproj | 4 ++-- .../Subscriptions/SubscriptionStorage.cs | 4 +--- 10 files changed, 24 insertions(+), 27 deletions(-) diff --git a/src/Custom.Build.props b/src/Custom.Build.props index 391a464d..1b8e7fa7 100644 --- a/src/Custom.Build.props +++ b/src/Custom.Build.props @@ -3,7 +3,6 @@ 4.0 minor - 10.0 \ No newline at end of file diff --git a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj index 95a9d54a..3210f00c 100644 --- a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj @@ -1,7 +1,7 @@ - + - net472;net6.0;net7.0 + net8.0 @@ -11,7 +11,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj index 95a9d54a..3210f00c 100644 --- a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj @@ -1,7 +1,7 @@ - + - net472;net6.0;net7.0 + net8.0 @@ -11,7 +11,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj index 9fb17a86..d2c9c9c1 100644 --- a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj @@ -1,7 +1,7 @@ - + - net472;net6.0;net7.0 + net8.0 @@ -11,7 +11,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj b/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj index 00fbacf5..74635179 100644 --- a/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj @@ -1,7 +1,7 @@ - + - net472;net6.0;net7.0 + net8.0 @@ -12,7 +12,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj index b08a75a8..e651602f 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj @@ -1,7 +1,7 @@ - + - net472;net6.0;net7.0 + net8.0 NServiceBus.TransactionalSession.AcceptanceTests @@ -9,8 +9,8 @@ - - + + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj index 593e2e4f..8e3ab0af 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj @@ -1,7 +1,7 @@ - net472;net6.0;net7.0 + net8.0 @@ -14,7 +14,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj index 45a26bfd..cfebbf9c 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj @@ -1,7 +1,7 @@ - + - net472;net6.0 + net8.0 NServiceBus.TransactionalSession NServiceBus Transactional Session for the MongoDB persistence. @@ -9,7 +9,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj index 8616e455..8c741380 100644 --- a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj +++ b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj @@ -1,12 +1,12 @@ - net472;net6.0 + net8.0 - + diff --git a/src/NServiceBus.Storage.MongoDB/Subscriptions/SubscriptionStorage.cs b/src/NServiceBus.Storage.MongoDB/Subscriptions/SubscriptionStorage.cs index 875b31d4..a0aec6db 100644 --- a/src/NServiceBus.Storage.MongoDB/Subscriptions/SubscriptionStorage.cs +++ b/src/NServiceBus.Storage.MongoDB/Subscriptions/SubscriptionStorage.cs @@ -10,9 +10,7 @@ class SubscriptionStorage : Feature { public SubscriptionStorage() { -#pragma warning disable CS0618 // Type or member is obsolete - DependsOn(); -#pragma warning restore CS0618 // Type or member is obsolete + DependsOn("NServiceBus.Features.MessageDrivenSubscriptions"); } protected override void Setup(FeatureConfigurationContext context) From 824d555a93d73d96fc262ae400b20af113469bfa Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:29:02 -0400 Subject: [PATCH 03/10] Remove ifdef --- .../Infrastructure/NServiceBusAcceptanceTest.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/Infrastructure/NServiceBusAcceptanceTest.cs b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/Infrastructure/NServiceBusAcceptanceTest.cs index 979403c3..f9b861a3 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/Infrastructure/NServiceBusAcceptanceTest.cs +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/Infrastructure/NServiceBusAcceptanceTest.cs @@ -14,11 +14,6 @@ public abstract class NServiceBusAcceptanceTest [SetUp] public void SetUp() { -#if NETFRAMEWORK - // Hack: prevents SerializationException ... Type 'x' in assembly 'y' is not marked as serializable. - // https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/mitigation-deserialization-of-objects-across-app-domains - System.Configuration.ConfigurationManager.GetSection("X"); -#endif Conventions.EndpointNamingConvention = t => { string classAndEndpoint = t.FullName.Split('.').Last(); From 2ab508efc8ad1cd7c4781900ac7f006e6dc4e8f0 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:47:10 -0400 Subject: [PATCH 04/10] Update InternalsVisibleTo --- src/NServiceBus.Storage.MongoDB/InternalsVisibleTo.cs | 4 ---- .../NServiceBus.Storage.MongoDB.csproj | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 src/NServiceBus.Storage.MongoDB/InternalsVisibleTo.cs diff --git a/src/NServiceBus.Storage.MongoDB/InternalsVisibleTo.cs b/src/NServiceBus.Storage.MongoDB/InternalsVisibleTo.cs deleted file mode 100644 index a151cf24..00000000 --- a/src/NServiceBus.Storage.MongoDB/InternalsVisibleTo.cs +++ /dev/null @@ -1,4 +0,0 @@ -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("NServiceBus.Storage.MongoDB.Tests")] -[assembly: InternalsVisibleTo("NServiceBus.Storage.MongoDB.PersistenceTests")] diff --git a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj index 8c741380..f403a0db 100644 --- a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj +++ b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj @@ -10,4 +10,9 @@ + + + + + \ No newline at end of file From 43c9578b5e8c67b413d8e398f8191100ddd78324 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:47:51 -0400 Subject: [PATCH 05/10] Exclude NServiceBusTests since nothing is signed --- .reposync.yml | 1 + src/NServiceBusTests.snk | Bin 596 -> 0 bytes 2 files changed, 1 insertion(+) delete mode 100644 src/NServiceBusTests.snk diff --git a/.reposync.yml b/.reposync.yml index 05ec9e31..8cabef55 100644 --- a/.reposync.yml +++ b/.reposync.yml @@ -1,2 +1,3 @@ exclusions: - src/NServiceBus.snk +- src/NServiceBusTests.snk diff --git a/src/NServiceBusTests.snk b/src/NServiceBusTests.snk deleted file mode 100644 index 59da17bf7e1d4fead026a1c91ff9e0c04f5ec4a0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097h7UC0V{{#_(`n8hT=zBOKxGBHP? z(wT$S<&m&Lg5=r^o*2E59uX`6Gm>7n*M}@G7Y1cmk;Tc?a+jG;aD5i;nvX!)c<^NI zAN+H`+doGVX&WQIS#Na{4^GK=&v+139`%0O8O{+(dmO`*r>)R8nt#l=RZ-kJ02l zDMD)>6z*np1>f((g8)p(pPFPr(*;hv?aOW0t-h{USl=|nb=8Q`R3NPbS5`v8r2Uj2 zPU9RCkc3dn(Sp3bWR!Q}BnLq_?EKOh`BBD+c$^nvL>dXlAI6$nAS#tUzm)1BKm0)j zyLUYZ*O4Yclq*N}d-5?1F3t#jw_Ad@` zf_VIiv3!_lYBeVd79}7A#U$DDh21ja#h0Wbu7M)I0PSE Date: Thu, 21 Sep 2023 17:49:27 -0400 Subject: [PATCH 06/10] Update Test SDK package --- .../NServiceBus.Storage.MongoDB.AcceptanceTests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.PersistenceTests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.Tests.csproj | 2 +- ....Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj | 2 +- ...ServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.csproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj index 3210f00c..8c665fc6 100644 --- a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj index 3210f00c..8c665fc6 100644 --- a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj index d2c9c9c1..f158925e 100644 --- a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj b/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj index 74635179..58134918 100644 --- a/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj index e651602f..018c5142 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj @@ -8,7 +8,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj index 8e3ab0af..0d5b18be 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj index f403a0db..f1349d34 100644 --- a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj +++ b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj @@ -5,7 +5,7 @@ - + From afec842457fcd696f6e66b80b945c8ec2ae2ac7d Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:55:25 -0400 Subject: [PATCH 07/10] Clean up project files --- ...rviceBus.Storage.MongoDB.AcceptanceTests.csproj | 4 ++-- ...Bus.Storage.MongoDB.NoTx.AcceptanceTests.csproj | 4 ++-- ...viceBus.Storage.MongoDB.PersistenceTests.csproj | 4 ++-- ...oDB.TransactionalSession.AcceptanceTests.csproj | 12 ++++++------ ...orage.MongoDB.TransactionalSession.Tests.csproj | 14 ++++++++------ ...Bus.Storage.MongoDB.TransactionalSession.csproj | 6 +++--- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj index 8c665fc6..1a4e56bc 100644 --- a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj @@ -11,10 +11,10 @@ + - - \ No newline at end of file + diff --git a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj index 8c665fc6..1a4e56bc 100644 --- a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj @@ -11,10 +11,10 @@ + - - \ No newline at end of file + diff --git a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj index f158925e..d557e7b1 100644 --- a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj @@ -11,10 +11,10 @@ + - - \ No newline at end of file + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj index 018c5142..e095973d 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj @@ -6,18 +6,18 @@ NServiceBus.TransactionalSession.AcceptanceTests + + + + + - - - - - - \ No newline at end of file + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj index 0d5b18be..380e927a 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj @@ -4,21 +4,23 @@ net8.0 + + + + - + + + + - - - - - \ No newline at end of file diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj index cfebbf9c..ed6525d6 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession/NServiceBus.Storage.MongoDB.TransactionalSession.csproj @@ -8,12 +8,12 @@ - - + - + + \ No newline at end of file From 03894d14a8152b8ec375458c9443e710577880d7 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 17:58:26 -0400 Subject: [PATCH 08/10] Update workflows --- .github/workflows/ci.yml | 9 ++++----- .github/workflows/release.yml | 9 +++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c2b5bf6..f5dc07e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: strategy: matrix: include: - - os: windows-2019 + - os: windows-2022 name: Windows - - os: ubuntu-20.04 + - os: ubuntu-22.04 name: Linux fail-fast: false steps: @@ -28,9 +28,8 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3.2.0 with: - dotnet-version: | - 7.0.x - 6.0.x + dotnet-version: 8.0.x + dotnet-quality: 'preview' - name: Build run: dotnet build src --configuration Release - name: Upload packages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21898ba7..46147b1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,16 +8,17 @@ env: DOTNET_NOLOGO: true jobs: release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4.1.0 with: - fetch-depth: 0 + fetch-depth: 0 - name: Setup .NET SDK uses: actions/setup-dotnet@v3.2.0 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x + dotnet-quality: 'preview' - name: Build run: dotnet build src --configuration Release - name: Sign NuGet packages @@ -37,4 +38,4 @@ jobs: uses: Particular/push-octopus-package-action@v1.1.0 with: octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }} - + From cd2e7297acf77abb42ab05a86c5382f00a256585 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 21 Sep 2023 18:01:10 -0400 Subject: [PATCH 09/10] Update README --- README.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/README.md b/README.md index 2c27fa3e..9d6d7a2b 100644 --- a/README.md +++ b/README.md @@ -6,30 +6,18 @@ This package includes [MongoDB](https://www.mongodb.com/) persistence implementa - Outbox - Transactions - ## Documentation Documentation, including configuration, usage, and samples can be found at http://docs.particular.net/persistence/mongodb - ## Developing -### Prerequisites - -- Projects in this solution require compatible SDKs for the following targets: - - .NET Framework 4.5.2 - - .NET Standard 2.0 -- Projects in this solution use the new .NET csproj project format which requires .NET Core 2 or greater, which is included in Visual Studio versions 2017 and greater. -- The projects also rely on NuGet for 3rd party dependencies. - - ### Running tests Both test projects utilize NUnit. The test projects can be executed using the test runner included in Visual Studio or using the [`dotnet test` command](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test) from the command line. The tests in the AcceptanceTesting project and many of the tests in the Testing project require an active MongoDB server in order for the test to pass. - #### MongoDB By default, both the AcceptanceTests and Tests projects will connect to any MongoDB server running at the default address of `mongodb://localhost:27017`. From 9b786729154ab613aaf2a6cc28413f82dcc123e0 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Mon, 25 Sep 2023 12:37:51 -0400 Subject: [PATCH 10/10] Update to core alpha 6 --- .../NServiceBus.Storage.MongoDB.AcceptanceTests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.PersistenceTests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.Tests.csproj | 2 +- ....Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj | 2 +- ...ServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj | 2 +- .../NServiceBus.Storage.MongoDB.csproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj index 1a4e56bc..76437d0b 100644 --- a/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.AcceptanceTests/NServiceBus.Storage.MongoDB.AcceptanceTests.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj index 1a4e56bc..76437d0b 100644 --- a/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests/NServiceBus.Storage.MongoDB.NoTx.AcceptanceTests.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj index d557e7b1..49f8ea51 100644 --- a/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.PersistenceTests/NServiceBus.Storage.MongoDB.PersistenceTests.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj b/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj index 58134918..33b8213d 100644 --- a/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.Tests/NServiceBus.Storage.MongoDB.Tests.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj index e095973d..f29bdd3f 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests/NServiceBus.Storage.MongoDB.TransactionalSession.AcceptanceTests.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj index 380e927a..4ab79cc7 100644 --- a/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj +++ b/src/NServiceBus.Storage.MongoDB.TransactionalSession.Tests/NServiceBus.Storage.MongoDB.TransactionalSession.Tests.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj index f1349d34..1861a8dc 100644 --- a/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj +++ b/src/NServiceBus.Storage.MongoDB/NServiceBus.Storage.MongoDB.csproj @@ -6,7 +6,7 @@ - +