Skip to content

Commit 4aaf5ff

Browse files
committed
Updates to .NET 10 and latest package versions.
Updates target frameworks to .NET 10. Also, includes updates to the minver package and Foundatio.TestHarness package. Lastly, sets sdk version to 10.0.100.
1 parent bd1f7de commit 4aaf5ff

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

build/common.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project ToolsVersion="15.0">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<Product>Foundatio</Product>
66
<Description>Pluggable foundation blocks for building distributed apps.</Description>
77
<PackageProjectUrl>https://github.com/FoundatioFx/Foundatio.AWS</PackageProjectUrl>
@@ -39,7 +39,7 @@
3939
<ItemGroup>
4040
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
4141
<PackageReference Include="AsyncFixer" Version="2.1.0" PrivateAssets="All" />
42-
<PackageReference Include="MinVer" Version="6.1.0" PrivateAssets="All" />
42+
<PackageReference Include="MinVer" Version="7.0.0" PrivateAssets="All" />
4343
</ItemGroup>
4444

4545
<ItemGroup>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "10.0.100",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
66
}

src/Foundatio.AWS/Queues/SQSQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public SQSQueue(Builder<SQSQueueOptionsBuilder<T>, SQSQueueOptions<T>> builder)
5656

5757
public AmazonSQSClient Client => _client.Value;
5858

59-
protected override async Task EnsureQueueCreatedAsync(CancellationToken cancellationToken = new CancellationToken())
59+
protected override async Task EnsureQueueCreatedAsync(CancellationToken cancellationToken = default)
6060
{
6161
if (!String.IsNullOrEmpty(_queueUrl))
6262
return;

tests/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<Import Project="..\build\common.props" />
33
<PropertyGroup>
4-
<TargetFrameworks>net8.0</TargetFrameworks>
4+
<TargetFrameworks>net10.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
66
<IsPackable>False</IsPackable>
77
<NoWarn>$(NoWarn);CS1591;NU1701</NoWarn>
@@ -12,7 +12,7 @@
1212
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
1313
<PackageReference Include="GitHubActionsTestLogger" Version="3.0.1" PrivateAssets="All" />
1414

15-
<PackageReference Include="Foundatio.TestHarness" Version="12.0.1-preview.0.39" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
15+
<PackageReference Include="Foundatio.TestHarness" Version="12.0.1-preview.0.71" Condition="'$(ReferenceFoundatioSource)' == '' OR '$(ReferenceFoundatioSource)' == 'false'" />
1616
<ProjectReference Include="..\..\..\Foundatio\src\Foundatio.TestHarness\Foundatio.TestHarness.csproj" Condition="'$(ReferenceFoundatioSource)' == 'true'" />
1717
</ItemGroup>
1818
</Project>

0 commit comments

Comments
 (0)