Skip to content

Commit

Permalink
Add .NET 9 tfm
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Sep 22, 2024
1 parent 9a3a8b2 commit 2a41752
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "8.0.401"
"version": "9.0.100-rc.1.24452.12"
}
}
3 changes: 2 additions & 1 deletion src/Blobify.Tests/Blobify.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down Expand Up @@ -29,6 +29,7 @@
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="Verify.Http" Version="6.3.0" />
<PackageReference Include="Verify.NUnit" Version="26.6.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 4 additions & 2 deletions src/Blobify.Tests/Unit/Services/Storage/TokenServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public async Task HeadAsync()
);

// Then
await Verify(result);
await Verify(result)
.DontIgnoreEmptyCollections();
}

[Test]
Expand All @@ -64,6 +65,7 @@ public async Task PutAsync()
);

// Then
await Verify(result);
await Verify(result)
.DontIgnoreEmptyCollections();
}
}
3 changes: 2 additions & 1 deletion src/Blobify/Blobify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down Expand Up @@ -43,6 +43,7 @@
<PackageReference Include="Spectre.Console" Version="0.49.1" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
<PackageReference Include="MimeTypes" Version="2.5.2" PrivateAssets="all" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 2a41752

Please sign in to comment.