Skip to content

Commit e7bacc3

Browse files
authored
[ci] Update azure-pipelines.yaml to Pin .NET 6.0.202 (#986)
Mono uses the .NET 6 reference libraries to build the `net6.0` binaries with its `msbuild`. This works for .NET 6 `6.0.202`; however when .NET 6 is upgraded to `6.0.300` it now fails with: /Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1232,5): error MSB3971: The reference assemblies for ".NETFramework,Version=v6.0" were not found. You might be using an older .NET SDK to target .NET 5.0 or higher. Update Visual Studio and/or your .NET SDK. Pin our .NET 6 to the working version for now so we can continue to build successfully on CI.
1 parent fb94d59 commit e7bacc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ variables:
2121
RunningOnCI: true
2222
Build.Configuration: Release
2323
MaxJdkVersion: 8
24-
DotNetCoreVersion: 6.0.x
24+
DotNetCoreVersion: 6.0.202
2525
1ESWindowsPool: AzurePipelines-EO
2626
1ESWindowsImage: AzurePipelinesWindows2022compliant
2727
1ESMacPool: Azure Pipelines

0 commit comments

Comments
 (0)