Skip to content

Commit

Permalink
Update .NET SDK to 9.0.100-preview.5.24307.3 (#696)
Browse files Browse the repository at this point in the history
* Update .NET SDK

Update .NET SDK to version 9.0.100-preview.5.24307.3.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: costellobot <[email protected]>

* Bump packages

Update NuGet packages for .NET 9 preview 5.

* Remove PackageReference

Remove redundant package reference.

* Fix build

Correctly fix the package references.

* Remove package reference

Remove redundant package reference.

* Fix CI

Skip tests that cause CI to fail due to dotnet/sdk#41541.

---------

Signed-off-by: costellobot <[email protected]>
Co-authored-by: martincostello <[email protected]>
  • Loading branch information
costellobot and martincostello committed Jul 10, 2024
1 parent b7b708e commit 5bb74df
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageVersion Include="coverlet.msbuild" Version="6.0.2" />
<PackageVersion Include="GitHubActionsTestLogger" Version="2.4.1" />
<PackageVersion Include="MartinCostello.Logging.XUnit" Version="0.4.0" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="9.0.0-preview.4.24267.6" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="9.0.0-preview.5.24306.11" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="NSubstitute" Version="5.1.0" />
<PackageVersion Include="ReportGenerator" Version="5.3.7" />
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.100-preview.4.24267.66",
"version": "9.0.100-preview.5.24307.3",
"allowPrerelease": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.TestHost" />
<PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="8.0.0" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))" />
<PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="9.0.0-preview.4.24267.6" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net9.0'))" />
<PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="9.0.0-preview.5.24306.11" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net9.0'))" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="PublicAPI\PublicAPI.Shipped.txt" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void Configure(IServiceCollection services)
Encoding.UTF8.GetString(response.Content).ShouldBe(@"{""Sum"":6}");
}

[Fact]
[Fact(Skip = "https://github.com/dotnet/sdk/issues/41541")]
public async Task Function_Can_Handle_Failed_Request()
{
// Arrange
Expand Down
4 changes: 2 additions & 2 deletions tests/AwsLambdaTestServer.Tests/LambdaTestServerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public async Task Function_Can_Process_Request_With_Mobile_Sdk_Headers()
response!.IsSuccessful.ShouldBeTrue();
}

[Fact]
[Fact(Skip = "https://github.com/dotnet/sdk/issues/41541")]
public async Task Function_Can_Handle_Failed_Request()
{
// Arrange
Expand All @@ -251,7 +251,7 @@ public async Task Function_Can_Handle_Failed_Request()
response.Content.ShouldNotBeNull();
}

[Fact]
[Fact(Skip = "https://github.com/dotnet/sdk/issues/41541")]
public async Task Function_Can_Handle_Failed_Initialization()
{
// Arrange
Expand Down

0 comments on commit 5bb74df

Please sign in to comment.