Skip to content

Commit 4ee90d8

Browse files
authored
Add .NET 10 target (#2653)
1 parent fc1f6db commit 4ee90d8

File tree

105 files changed

+136
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+136
-144
lines changed

Directory.Packages.props

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<Project>
22
<PropertyGroup>
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4-
<MicrosoftAspNetCoreAppPackageVersion>9.0.4</MicrosoftAspNetCoreAppPackageVersion>
4+
<MicrosoftAspNetCoreAppPackageVersion>10.0.0-preview.6.25358.103</MicrosoftAspNetCoreAppPackageVersion>
5+
<MicrosoftAspNetCoreApp9PackageVersion>9.0.4</MicrosoftAspNetCoreApp9PackageVersion>
56
<MicrosoftAspNetCoreApp8PackageVersion>8.0.15</MicrosoftAspNetCoreApp8PackageVersion>
6-
<MicrosoftAspNetCoreApp7PackageVersion>7.0.20</MicrosoftAspNetCoreApp7PackageVersion>
7-
<MicrosoftAspNetCoreApp6PackageVersion>6.0.36</MicrosoftAspNetCoreApp6PackageVersion>
87
<GrpcDotNetPackageVersion>2.70.0</GrpcDotNetPackageVersion>
98
<OpenTelemetryPackageVersion>1.6.0</OpenTelemetryPackageVersion>
109
<OpenTelemetryIntergationPackageVersion>1.8.1</OpenTelemetryIntergationPackageVersion>
1110
<OpenTelemetryGrpcPackageVersion>1.8.0-beta.1</OpenTelemetryGrpcPackageVersion>
12-
<MicrosoftExtensionsPackageVersion>9.0.0</MicrosoftExtensionsPackageVersion>
13-
<MicrosoftExtensionsLtsPackageVersion>6.0.0</MicrosoftExtensionsLtsPackageVersion>
11+
<MicrosoftExtensionsPackageVersion>10.0.0-preview.6.25358.103</MicrosoftExtensionsPackageVersion>
12+
<MicrosoftExtensionsLtsPackageVersion>8.0.0</MicrosoftExtensionsLtsPackageVersion>
1413
</PropertyGroup>
1514
<ItemGroup>
1615
<!-- ASP.NET Core -->
@@ -58,32 +57,32 @@
5857
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="$(OpenTelemetryIntergationPackageVersion)" />
5958

6059
<!-- Other -->
61-
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" />
60+
<PackageVersion Include="BenchmarkDotNet" Version="0.15.2" />
6261
<PackageVersion Include="CommandLineParser" Version="2.5.0" />
6362
<PackageVersion Include="Google.Api.CommonProtos" Version="2.16.0" />
64-
<PackageVersion Include="Google.Apis.Auth" Version="1.69.0" />
65-
<PackageVersion Include="Google.Protobuf" Version="3.30.2" />
66-
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
63+
<PackageVersion Include="Google.Apis.Auth" Version="1.70.0" />
64+
<PackageVersion Include="Google.Protobuf" Version="3.31.1" />
65+
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
6766
<PackageVersion Include="Microsoft.Build.Locator" Version="1.5.5" />
6867
<PackageVersion Include="Microsoft.Build" Version="17.3.2" />
69-
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
70-
<PackageVersion Include="Microsoft.Crank.EventSources" Version="0.2.0-alpha.21255.1" />
71-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
72-
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
68+
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25358.103" />
69+
<PackageVersion Include="Microsoft.Crank.EventSources" Version="0.2.0-alpha.25128.2" />
70+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
71+
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
7372
<PackageVersion Include="Microsoft.Win32.Registry" Version="4.6.0" />
7473
<PackageVersion Include="Moq" Version="4.20.70" />
7574
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
76-
<PackageVersion Include="Nunit" Version="4.1.0" />
77-
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
75+
<PackageVersion Include="Nunit" Version="4.3.2" />
76+
<PackageVersion Include="NUnit3TestAdapter" Version="5.0.0" />
7877
<PackageVersion Include="protobuf-net.Grpc.AspNetCore" Version="1.0.140" />
7978
<PackageVersion Include="protobuf-net.Grpc" Version="1.0.140" />
8079
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
8180
<PackageVersion Include="System.CommandLine.Rendering" Version="0.4.0-alpha.22272.1" />
8281
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="6.0.1" />
8382
<PackageVersion Include="System.Memory" Version="4.5.3" />
84-
<PackageVersion Include="System.Net.Http.WinHttpHandler" Version="8.0.0" />
83+
<PackageVersion Include="System.Net.Http.WinHttpHandler" Version="8.0.3" />
8584
<PackageVersion Include="System.Security.Principal.Windows" Version="5.0.0" />
86-
<PackageVersion Include="System.Text.Json" Version="6.0.10" />
85+
<PackageVersion Include="System.Text.Json" Version="8.0.6" />
8786
<PackageVersion Include="System.Threading.Channels" Version="4.6.0" />
8887
</ItemGroup>
8988
</Project>

build/get-dotnet.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ echo "Downloading install script: $install_script_url => $install_script_path"
2727
curl -sSL -o $install_script_path $install_script_url
2828
chmod +x $install_script_path
2929

30-
# Install .NET 6 SDK to run 6.0 test targets
31-
$install_script_path -v 6.0.423 -i $dotnet_install_path
32-
33-
# Install .NET 7 SDK to run 7.0 test targets
34-
$install_script_path -v 7.0.410 -i $dotnet_install_path
35-
3630
# Install .NET 8 SDK to run 8.0 test targets
37-
$install_script_path -v 8.0.301 -i $dotnet_install_path
31+
$install_script_path -v 8.0.412 -i $dotnet_install_path
32+
33+
# Install .NET 9 SDK to run 9.0 test targets
34+
$install_script_path -v 9.0.303 -i $dotnet_install_path
3835

3936
# Install .NET version specified by global.json
4037
$install_script_path -v $sdk_version -i $dotnet_install_path

examples/Aggregator/Client/Client.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/Aggregator/Server/Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

examples/Blazor/Client/Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

examples/Blazor/Server/Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<UserSecretsId>46982f83-f153-443e-b589-4b2bc7b5945e</UserSecretsId>
66
</PropertyGroup>
77

examples/Browser/Server/Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<SpaRoot>wwwroot\</SpaRoot>
66
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**;$(SpaRoot)dist\**</DefaultItemExcludes>
77
</PropertyGroup>

examples/Certifier/Client/Client.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/Certifier/Server/Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

examples/Channeler/Client/Client.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)