Skip to content

Commit 5b10438

Browse files
committed
Update to .Net 9.0 to fix ARM32 Y2038 breakage.
This updates .Net to 9.0.100-rc.2.24474.11 . See actions#3505 dotnet/runtime#101444 dotnet/runtime#96460 dotnet/runtime#102410 (Looks like this has not been backported to .Net 8.x...) Signed-off-by: Satadru Pramanik <[email protected]>
1 parent 5f43813 commit 5b10438

File tree

11 files changed

+19
-17
lines changed

11 files changed

+19
-17
lines changed

.devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"image": "mcr.microsoft.com/devcontainers/base:focal",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:1": {},
6-
"ghcr.io/devcontainers/features/dotnet": {
7-
"version": "8.0.404"
6+
"ghcr.io/devcontainers/features/dotnet": {=
7+
"version": "9.0.100-rc.2.24474.11"
88
},
99
"ghcr.io/devcontainers/features/node:1": {
1010
"version": "20"

src/Runner.Common/Runner.Common.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Library</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
@@ -17,7 +17,7 @@
1717
<ItemGroup>
1818
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
1919
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
20-
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
20+
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.0-rc.2.24473.5" />
2121
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
2222
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
2323
</ItemGroup>

src/Runner.Listener/Runner.Listener.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<SelfContained>true</SelfContained>
@@ -22,7 +22,7 @@
2222
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
2323
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
2424
<PackageReference Include="System.IO.FileSystem.AccessControl" Version="5.0.0" />
25-
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
25+
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.0-rc.2.24473.5" />
2626
<PackageReference Include="System.ServiceProcess.ServiceController" Version="8.0.0" />
2727
</ItemGroup>
2828

src/Runner.PluginHost/Runner.PluginHost.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<SelfContained>true</SelfContained>

src/Runner.Plugins/Runner.Plugins.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Library</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<SelfContained>true</SelfContained>

src/Runner.Sdk/Runner.Sdk.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Library</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<SelfContained>true</SelfContained>

src/Runner.Worker/Runner.Worker.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<SelfContained>true</SelfContained>
@@ -19,7 +19,7 @@
1919
</ItemGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
22+
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.0-rc.2.24473.5" />
2323
<PackageReference Include="System.ServiceProcess.ServiceController" Version="8.0.0" />
2424
<PackageReference Include="System.Threading.Channels" Version="8.0.0" />
2525
<PackageReference Include="YamlDotNet.Signed" Version="5.3.0" />

src/Sdk/Sdk.csproj

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<OutputType>Library</OutputType>
66
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
77
<!-- <SelfContained>true</SelfContained> -->
@@ -18,14 +18,16 @@
1818
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
1919
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
2020
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
21+
<PackageReference Include="System.Formats.Asn1" Version="9.0.0-rc.2.24473.5" />
2122
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.5.1" />
2223
<PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0" />
23-
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" />
24-
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
24+
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="9.0.0-rc.2.24473.5" />
25+
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="9.0.0-rc.2.24473.5" />
2526
<PackageReference Include="Minimatch" Version="2.0.0" />
2627
<PackageReference Include="YamlDotNet.Signed" Version="5.3.0" />
2728
<PackageReference Include="System.Net.Http" Version="4.3.4" />
2829
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
30+
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
2931
</ItemGroup>
3032

3133
<ItemGroup>

src/Test/Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;linux-arm64;linux-arm;osx-x64;osx-arm64;win-arm64</RuntimeIdentifiers>
55
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
66
<NoWarn>NU1701;NU1603;NU1603;xUnit2013;SYSLIB0050;SYSLIB0051</NoWarn>

src/dev.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ LAYOUT_DIR="$SCRIPT_DIR/../_layout"
1717
DOWNLOAD_DIR="$SCRIPT_DIR/../_downloads/netcore2x"
1818
PACKAGE_DIR="$SCRIPT_DIR/../_package"
1919
DOTNETSDK_ROOT="$SCRIPT_DIR/../_dotnetsdk"
20-
DOTNETSDK_VERSION="8.0.404"
20+
DOTNETSDK_VERSION="9.0.100-rc.2.24474.11"
2121
DOTNETSDK_INSTALLDIR="$DOTNETSDK_ROOT/$DOTNETSDK_VERSION"
2222
RUNNER_VERSION=$(cat runnerversion)
2323

src/global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "8.0.404"
3+
"version": "9.0.100-rc.2.24474.11"
44
}
55
}

0 commit comments

Comments
 (0)