Skip to content

Commit 81e1844

Browse files
author
rhamlett_microsoft
committed
Update to .NET 10.0 and related package versions
1 parent 5f58f9b commit 81e1844

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/azure-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
env:
1010
AZURE_WEBAPP_NAME: PerfSimDotNet
1111
AZURE_WEBAPP_PACKAGE_PATH: './publish'
12-
DOTNET_VERSION: '8.0.x'
12+
DOTNET_VERSION: '10.0.x'
1313

1414
permissions:
1515
id-token: write

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
-->
77

88
<PropertyGroup>
9-
<!-- Target .NET 8.0 LTS for all projects -->
10-
<TargetFramework>net8.0</TargetFramework>
9+
<!-- Target .NET 10.0 for all projects -->
10+
<TargetFramework>net10.0</TargetFramework>
1111

1212
<!-- Enable nullable reference types for defensive programming (Constitution Principle IV) -->
1313
<Nullable>enable</Nullable>

src/PerfProblemSimulator/PerfProblemSimulator.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
-->
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.23" />
10-
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.2.9" />
11-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
9+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
10+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.0" />
1211
</ItemGroup>
1312

1413
</Project>

src/PerfProblemSimulator/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
builder.Services.AddEndpointsApiExplorer();
5656
builder.Services.AddSwaggerGen(options =>
5757
{
58-
options.SwaggerDoc("v1", new Microsoft.OpenApi.Models.OpenApiInfo
58+
options.SwaggerDoc("v1", new Microsoft.OpenApi.OpenApiInfo
5959
{
6060
Title = "Performance Problem Simulator API",
6161
Version = "v1",

tests/PerfProblemSimulator.Tests/PerfProblemSimulator.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="coverlet.collector" Version="6.0.0" />
15-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.18" />
15+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0" />
1616
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
1717
<PackageReference Include="Moq" Version="4.20.72" />
1818
<PackageReference Include="xunit" Version="2.5.3" />

0 commit comments

Comments
 (0)