Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare repo for .NET 8 #1243

Merged
merged 36 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
cc7b32f
Adjust to new address translation
andreasohlund Sep 13, 2023
ddb160f
Fix preobsoletes
andreasohlund Sep 13, 2023
6c90c8c
Cleanup ifs and pragmas
andreasohlund Sep 13, 2023
d99cea0
test sdk
andreasohlund Sep 13, 2023
a7cdf58
approvals
andreasohlund Sep 13, 2023
0b934b7
More approvals
andreasohlund Sep 13, 2023
6ddcd54
Cleanup
andreasohlund Sep 13, 2023
dcbc48e
Temporarily remove compat tests
andreasohlund Sep 13, 2023
1fa4225
Run dtc tests on windows
andreasohlund Sep 13, 2023
7f76d2e
Enable dtc on windows
andreasohlund Sep 13, 2023
6b36ca0
Reenable tests
andreasohlund Sep 13, 2023
3c5f7d7
Fix ignore
andreasohlund Sep 13, 2023
0be5be6
Adjust supported modes depending on OS
andreasohlund Sep 13, 2023
6ce1f2c
Update to core alpha 4
andreasohlund Sep 15, 2023
4124403
Fix cleanup when test is ignored
andreasohlund Sep 15, 2023
8501bdf
Rollback test suite constraints change
andreasohlund Sep 15, 2023
f80307f
Revert
andreasohlund Sep 15, 2023
9d3832b
Lower tx mode on linux
andreasohlund Sep 15, 2023
fba341c
Typo
andreasohlund Sep 15, 2023
81a92ba
Fixup
andreasohlund Sep 15, 2023
07f590f
Apply suggestions from code review
andreasohlund Sep 17, 2023
420ff44
Remove txscope from supported modes until we can make tests pass
andreasohlund Sep 18, 2023
4b2c712
Set proper default
andreasohlund Sep 18, 2023
b3731e0
Use scopes in peeker even on net since that is the safes way to ensur…
andreasohlund Sep 20, 2023
a50aee9
Extract default transaction mode
andreasohlund Sep 20, 2023
3c5e83b
Exclude tests that won't work due to dtc bug
andreasohlund Sep 20, 2023
5cb92cf
Better todos
andreasohlund Sep 20, 2023
f116d2b
Update to core alpha 5
andreasohlund Sep 21, 2023
4d54fd3
Add support for scopes back in
andreasohlund Sep 21, 2023
ff1b3a3
Ignore scope tests in the transport tests
andreasohlund Sep 21, 2023
6a7877c
Remove setting of dtc flag
andreasohlund Sep 21, 2023
92ce0c6
Clean up project files
bording Sep 21, 2023
3d11f63
Remove pragmas and use new language features in SubscriptionManager
bording Sep 21, 2023
8eaf448
Rename file to match class name
bording Sep 21, 2023
b510416
Remove Resharper annotations
bording Sep 21, 2023
8684c95
Tweak message
bording Sep 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -28,13 +28,8 @@ jobs:
- name: Setup .NET SDK
uses: actions/[email protected]
with:
dotnet-version: |
7.0.x
6.0.x
- name: Setup .NET Core 3.1 runtime
uses: actions/[email protected]
with:
dotnet-version: 3.1.x
dotnet-version: 8.0.x
dotnet-quality: 'preview'
- name: Build
run: dotnet build src --configuration Release
- name: Upload packages
Expand All @@ -50,12 +45,12 @@ jobs:
connection-string-env-var: SqlServerTransportConnectionString
catalog: nservicebus
- name: Prepare SQL Server
shell: pwsh
shell: pwsh
run: |
echo "Create extra databases"
sqlcmd -Q "CREATE DATABASE nservicebus1"
sqlcmd -Q "CREATE DATABASE nservicebus2"

echo "Create additional schemas"
sqlcmd -Q "CREATE SCHEMA receiver AUTHORIZATION db_owner" -d "nservicebus"
sqlcmd -Q "CREATE SCHEMA sender AUTHORIZATION db_owner" -d "nservicebus"
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
fetch-depth: 0
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/[email protected]
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
Expand All @@ -36,5 +37,5 @@ jobs:
- name: Deploy
uses: Particular/[email protected]
with:
octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }}
octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }}

2 changes: 1 addition & 1 deletion src/Custom.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<MinVerMinimumMajorMinor>7.1</MinVerMinimumMajorMinor>
<MinVerMinimumMajorMinor>8.0</MinVerMinimumMajorMinor>
<MinVerAutoIncrement>minor</MinVerAutoIncrement>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SYSTEMDATASQLCLIENT</DefineConstants>
Expand All @@ -12,8 +12,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NServiceBus.AcceptanceTests.Sources" Version="8.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0-preview-23424-02" />
<PackageReference Include="NServiceBus.AcceptanceTests.Sources" Version="9.0.0-alpha.4" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SYSTEMDATASQLCLIENT</DefineConstants>
Expand All @@ -12,8 +12,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NServiceBus" Version="8.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0-preview-23424-02" />
<PackageReference Include="NServiceBus" Version="9.0.0-alpha.4" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SYSTEMDATASQLCLIENT</DefineConstants>
Expand All @@ -12,8 +12,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NServiceBus.TransportTests.Sources" Version="8.1.1" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0-preview-23424-02" />
<PackageReference Include="NServiceBus.TransportTests.Sources" Version="9.0.0-alpha.4" GeneratePathProperty="true" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ namespace NServiceBus
public NServiceBus.TransactionScopeOptions TransactionScope { get; }
public override System.Collections.Generic.IReadOnlyCollection<NServiceBus.TransportTransactionMode> GetSupportedTransactionModes() { }
public override System.Threading.Tasks.Task<NServiceBus.Transport.TransportInfrastructure> Initialize(NServiceBus.Transport.HostSettings hostSettings, NServiceBus.Transport.ReceiveSettings[] receivers, string[] sendingAddresses, System.Threading.CancellationToken cancellationToken = default) { }
[System.Obsolete("Inject the ITransportAddressResolver type to access the address translation mecha" +
"nism at runtime. See the NServiceBus version 8 upgrade guide for further details" +
". Will be treated as an error from version 8.0.0. Will be removed in version 9.0" +
".0.", false)]
public override string ToTransportAddress(NServiceBus.Transport.QueueAddress address) { }
}
public static class SqlServerTransportSettingsExtensions
{
Expand All @@ -79,9 +74,6 @@ namespace NServiceBus
public static NServiceBus.TransportExtensions<NServiceBus.SqlServerTransport> UseSchemaForQueue(this NServiceBus.TransportExtensions<NServiceBus.SqlServerTransport> transportExtensions, string queueName, string schema) { }
public static NServiceBus.TransportExtensions<NServiceBus.SqlServerTransport> UseTransport<T>(this NServiceBus.EndpointConfiguration config)
where T : NServiceBus.SqlServerTransport { }
[System.Obsolete("Use `QueuePeekerOptions` instead. The member currently throws a NotImplementedExc" +
"eption. Will be removed in version 8.0.0.", true)]
public static NServiceBus.TransportExtensions<NServiceBus.SqlServerTransport> WithPeekDelay(this NServiceBus.TransportExtensions<NServiceBus.SqlServerTransport> transportExtensions, System.TimeSpan? delay = default) { }
}
public class TransactionScopeOptions
{
Expand All @@ -94,22 +86,11 @@ namespace NServiceBus.Transport.SqlServer
public class DelayedDeliveryOptions
{
public int BatchSize { get; set; }
[System.Obsolete("Delayed message polling now uses an adaptive delays and no longer needs a process" +
"ing interval. This setting is safe to remove. The member currently throws a NotI" +
"mplementedException. Will be removed in version 8.0.0.", true)]
public System.TimeSpan ProcessingInterval { get; set; }
public string TableSuffix { get; set; }
}
public class DelayedDeliverySettings
{
public void BatchSize(int batchSize) { }
[System.Obsolete("Timeout manager has been removed from NServiceBus. See the upgrade guide for more" +
" details. Will be removed in version 8.0.0.", true)]
public void EnableTimeoutManagerCompatibility() { }
[System.Obsolete("Delayed message polling now uses an adaptive delays and no longer needs a process" +
"ing interval. This setting is safe to remove. The member currently throws a NotI" +
"mplementedException. Will be removed in version 8.0.0.", true)]
public void ProcessingInterval(System.TimeSpan interval) { }
public void TableSuffix(string suffix) { }
}
public class QueueSchemaAndCatalogOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
Expand All @@ -11,8 +11,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NServiceBus" Version="8.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0-preview-23424-02" />
<PackageReference Include="NServiceBus" Version="9.0.0-alpha.4" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Particular.Approvals" Version="0.5.0" />
Expand Down
11 changes: 2 additions & 9 deletions src/NServiceBus.SqlServer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NServiceBus.SqlServer.Accep
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A8C6EF3B-1488-44A7-BF9E-D85DB09B0FFE}"
ProjectSection(SolutionItems) = preProject
..\.github\workflows\ci.yml = ..\.github\workflows\ci.yml
Scripts\Create-Databases.sql = Scripts\Create-Databases.sql
Custom.Build.props = Custom.Build.props
..\.github\workflows\release.yml = ..\.github\workflows\release.yml
Scripts\Reset-Database.sql = Scripts\Reset-Database.sql
EndProjectSection
EndProject
Expand All @@ -32,11 +34,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NServiceBus.Transport.SqlSe
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NServiceBus.Transport.SqlServer.UnitTests", "NServiceBus.Transport.SqlServer.UnitTests\NServiceBus.Transport.SqlServer.UnitTests.csproj", "{F08C8BAB-C329-4F96-A6AF-F25419C623FD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NServiceBus.Transport.SqlServer.CompatibilityTests", "NServiceBus.Transport.SqlServer.CompatibilityTests\NServiceBus.Transport.SqlServer.CompatibilityTests.csproj", "{A34A2296-D65D-49AF-ABCE-B712017FF92D}"
ProjectSection(ProjectDependencies) = postProject
{FA1193BF-325C-4201-BB78-484032E09809} = {FA1193BF-325C-4201-BB78-484032E09809}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -83,10 +80,6 @@ Global
{F08C8BAB-C329-4F96-A6AF-F25419C623FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F08C8BAB-C329-4F96-A6AF-F25419C623FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F08C8BAB-C329-4F96-A6AF-F25419C623FD}.Release|Any CPU.Build.0 = Release|Any CPU
{A34A2296-D65D-49AF-ABCE-B712017FF92D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A34A2296-D65D-49AF-ABCE-B712017FF92D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A34A2296-D65D-49AF-ABCE-B712017FF92D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A34A2296-D65D-49AF-ABCE-B712017FF92D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
7 changes: 3 additions & 4 deletions src/NServiceBus.SqlServer/NServiceBus.SqlServer.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>NServiceBus.Transport.SqlServer</AssemblyName>
<RootNamespace>NServiceBus.Transport.SqlServer</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBus.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SYSTEMDATASQLCLIENT</DefineConstants>
<LangVersion>10.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -20,7 +19,7 @@
<PackageReference Include="Janitor.Fody" Version="1.9.0" PrivateAssets="All" />
<PackageReference Include="Obsolete.Fody" Version="5.3.0" PrivateAssets="All" />
<PackageReference Include="Particular.Packaging" Version="3.0.0" PrivateAssets="All" />
<PackageReference Include="NServiceBus" Version="[8.1.1, 9.0.0)" />
<PackageReference Include="NServiceBus" Version="9.0.0-alpha.4" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ public ConfigureEndpointSqlServerTransport()
transport = new SqlServerTransport(connectionString);
transport.Subscriptions.DisableCaching = true;

#if !NETFRAMEWORK
transport.TransportTransactionMode = TransportTransactionMode.SendsAtomicWithReceive;
#endif
//On non windows operating systems we need to explicitly set the transaction mode to SendsAtomicWithReceive since distributed transactions is not available there
if (!OperatingSystem.IsWindows() && transport.TransportTransactionMode == TransportTransactionMode.TransactionScope)
{
transport.TransportTransactionMode = TransportTransactionMode.SendsAtomicWithReceive;
}
}

public Task Configure(string endpointName, EndpointConfiguration configuration, RunSettings runSettings, PublisherMetadata publisherMetadata)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
Expand All @@ -11,8 +11,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NServiceBus.AcceptanceTests.Sources" Version="8.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0-preview-23424-02" />
<PackageReference Include="NServiceBus.AcceptanceTests.Sources" Version="9.0.0-alpha.4" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ namespace NServiceBus.AcceptanceTests

public partial class TestSuiteConstraints
{
#if NETFRAMEWORK
public bool SupportsDtc => true;
#else
//TODO: Change this to true once scopes work with DTC on .NET - https://github.com/Particular/NServiceBus.SqlServer/issues/1145
public bool SupportsDtc => false;
#endif
public bool SupportsCrossQueueTransactions => true;
public bool SupportsNativePubSub => true;
public bool SupportsDelayedDelivery => true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ public class When_queue_contains_expired_messages : NServiceBusAcceptanceTest
public void SetUpConnectionString() =>
connectionString = Environment.GetEnvironmentVariable("SqlServerTransportConnectionString") ?? @"Data Source=.\SQLEXPRESS;Initial Catalog=nservicebus;Integrated Security=True";

#if NETFRAMEWORK
[TestCase(TransportTransactionMode.TransactionScope)]
#endif
//TODO: Enable once scopes work with DTC on .NET - https://github.com/Particular/NServiceBus.SqlServer/issues/1145
///[TestCase(TransportTransactionMode.TransactionScope)]
[TestCase(TransportTransactionMode.SendsAtomicWithReceive)]
[TestCase(TransportTransactionMode.ReceiveOnly)]
[TestCase(TransportTransactionMode.None)]
public Task Should_remove_expired_messages_from_queue(TransportTransactionMode transactionMode)
{
if (transactionMode == TransportTransactionMode.TransactionScope && !OperatingSystem.IsWindows())
{
Assert.Ignore("Transaction scope mode is only supported on windows");
}

return Scenario.Define<Context>()
.WithEndpoint<Endpoint>(b =>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,18 @@ public class When_a_corrupted_message_is_received : NServiceBusAcceptanceTest
public void SetConnectionString() =>
connectionString = Environment.GetEnvironmentVariable("SqlServerTransportConnectionString") ?? @"Data Source=.\SQLEXPRESS;Initial Catalog=nservicebus;Integrated Security=True";

#if NETFRAMEWORK
[TestCase(TransportTransactionMode.TransactionScope)]
#endif
//TODO: Enable once scopes work with DTC on .NET - https://github.com/Particular/NServiceBus.SqlServer/issues/1145
///[TestCase(TransportTransactionMode.TransactionScope)]
[TestCase(TransportTransactionMode.SendsAtomicWithReceive)]
[TestCase(TransportTransactionMode.ReceiveOnly)]
[TestCase(TransportTransactionMode.None)]
public async Task Should_move_it_to_the_error_queue_when_headers_corrupted(TransportTransactionMode txMode)
{
if (txMode == TransportTransactionMode.TransactionScope && !OperatingSystem.IsWindows())
{
Assert.Ignore("Transaction scope mode is only supported on windows");
}

PurgeQueues(connectionString);
try
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<!--<SignAssembly>true</SignAssembly>-->
<!--<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>-->
<TargetFramework>net8.0</TargetFramework>
<NoWarn>PS0018</NoWarn>
</PropertyGroup>

Expand All @@ -16,11 +14,11 @@
<PackageReference Include="Compatibility.NServiceBus.TestRunner" Version="0-*" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
<PackageReference Include="NuGet.Protocol" Version="6.7.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0-preview-23424-02" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3" />
<PackageReference Include="MinVer" Version="4.3.0"/>
<PackageReference Include="MinVer" Version="4.3.0" />
</ItemGroup>

</Project>
Loading