Skip to content

Commit d30d554

Browse files
authored
[ci] Pin .NET 8 to '8.0.303' (#1245)
Context: dotnet/runtime#106661 Beginning with .NET 8 8.0.400, we hit the following error on CI: /var/folders/cy/09t6wxdj6qn64c5q9_kr6czr0000gn/T/MSBuildTemprunner/tmp58b6b197481a4eb7b080ec79e70515ad.exec. cmd: line 2: 7199 Bus error: 10 "/Users/runner/hostedtoolcache/dotnet/dotnet" "/Users/runner/work/1/s/bin/Release-net8.0//jnimarshalmethod-gen.dll" "/Users/runner/work/1/s/samples/Hello- NativeAOTFromJNI/bin/Release/Hello-NativeAOTFromJNI.dll" -v -v --keeptemp -L "/Users/runner/work/1/s/samples/Hello- NativeAOTFromJNI/bin/Release/" ##[error]samples/Hello-NativeAOTFromJNI/Hello-NativeAOTFromJNI.targets(44,5): Error MSB3073: The command ""/Users/runner/hostedtoolcache/dotnet/dotnet" "/Users/runner/work/1/s/bin/Release-net8.0//jnimarshalmethod-gen.dll" "/Users/runner/work/1/s/samples/Hello-NativeAOTFromJNI/bin/Release/Hello-NativeAOTFromJNI.dll" -v -v --keeptemp -L "/Users/runner/work/1/s/samples/Hello-NativeAOTFromJNI/bin/Release/" " exited with code 138. Pin to .NET '8.0.303' for now while this regression is investigated and fixed in .NET.
1 parent fcad336 commit d30d554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/automation/azure-pipelines.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ parameters:
2525
variables:
2626
RunningOnCI: true
2727
Build.Configuration: Release
28-
DotNetCoreVersion: 8.x
28+
DotNetCoreVersion: 8.0.303
2929
DotNetTargetFramework: net8.0
3030
NetCoreTargetFrameworkPathSuffix: -$(DotNetTargetFramework)
3131
1ESWindowsPool: AzurePipelines-EO

0 commit comments

Comments
 (0)