From 37b4a8e0d3d9e80e3922b5f9db7416789603b9d0 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 14 Oct 2022 16:03:54 +0000 Subject: [PATCH 1/2] Update dependencies from https://github.com/dotnet/arcade build 20221013.4 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22457.4 -> To Version 7.0.0-beta.22513.4 --- eng/Version.Details.xml | 76 ++++++++++++++++---------------- eng/Versions.props | 32 +++++++------- eng/common/build.ps1 | 5 +++ eng/common/init-tools-native.ps1 | 6 ++- eng/common/sdk-task.ps1 | 2 +- eng/common/tools.ps1 | 4 +- global.json | 10 ++--- 7 files changed, 71 insertions(+), 64 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 08d35478da809..45fdcf9a70cf6 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -58,77 +58,77 @@ - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 https://github.com/dotnet/runtime-assets @@ -254,9 +254,9 @@ https://github.com/dotnet/xharness 5ebf69650b9f7b4ecab485be840b3022420f7812 - + https://github.com/dotnet/arcade - e8ed48e43a06ad8faeb1e62b81fbfb53f4cbdc85 + 02e28316bf35d1028683ee313f0794776bff18d1 https://dev.azure.com/dnceng/internal/_git/dotnet-optimization diff --git a/eng/Versions.props b/eng/Versions.props index bf5ca9e368df6..4efb400d3a5bc 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -58,22 +58,22 @@ 7.0.100-rc.1.22402.1 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 2.5.1-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 - 7.0.0-beta.22457.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 2.5.1-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 + 7.0.0-beta.22513.4 6.0.0-preview.1.102 diff --git a/eng/common/build.ps1 b/eng/common/build.ps1 index 8943da242f6e9..e0420a6427550 100644 --- a/eng/common/build.ps1 +++ b/eng/common/build.ps1 @@ -26,6 +26,7 @@ Param( [string] $runtimeSourceFeed = '', [string] $runtimeSourceFeedKey = '', [switch] $excludePrereleaseVS, + [switch] $nativeToolsOnMachine, [switch] $help, [Parameter(ValueFromRemainingArguments=$true)][String[]]$properties ) @@ -66,6 +67,7 @@ function Print-Usage() { Write-Host " -prepareMachine Prepare machine for CI run, clean up processes after build" Write-Host " -warnAsError Sets warnaserror msbuild parameter ('true' or 'false')" Write-Host " -msbuildEngine Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)." + Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)" Write-Host " -excludePrereleaseVS Set to exclude build engines in prerelease versions of Visual Studio" Write-Host "" @@ -146,6 +148,9 @@ try { $nodeReuse = $false } + if ($nativeToolsOnMachine) { + $env:NativeToolsOnMachine = $true + } if ($restore) { InitializeNativeTools } diff --git a/eng/common/init-tools-native.ps1 b/eng/common/init-tools-native.ps1 index 8d48ec5680fc4..fbc67effc3631 100644 --- a/eng/common/init-tools-native.ps1 +++ b/eng/common/init-tools-native.ps1 @@ -98,11 +98,12 @@ try { Write-Error "Arcade tools directory '$ArcadeToolsDirectory' was not found; artifacts were not properly installed." exit 1 } - $ToolDirectory = (Get-ChildItem -Path "$ArcadeToolsDirectory" -Filter "$ToolName-$ToolVersion*" | Sort-Object -Descending)[0] - if ([string]::IsNullOrWhiteSpace($ToolDirectory)) { + $ToolDirectories = (Get-ChildItem -Path "$ArcadeToolsDirectory" -Filter "$ToolName-$ToolVersion*" | Sort-Object -Descending) + if ($ToolDirectories -eq $null) { Write-Error "Unable to find directory for $ToolName $ToolVersion; please make sure the tool is installed on this image." exit 1 } + $ToolDirectory = $ToolDirectories[0] $BinPathFile = "$($ToolDirectory.FullName)\binpath.txt" if (-not (Test-Path -Path "$BinPathFile")) { Write-Error "Unable to find binpath.txt in '$($ToolDirectory.FullName)' ($ToolName $ToolVersion); artifact is either installed incorrectly or is not a bootstrappable tool." @@ -112,6 +113,7 @@ try { $ToolPath = Convert-Path -Path $BinPath Write-Host "Adding $ToolName to the path ($ToolPath)..." Write-Host "##vso[task.prependpath]$ToolPath" + $env:PATH = "$ToolPath;$env:PATH" $InstalledTools += @{ $ToolName = $ToolDirectory.FullName } } } diff --git a/eng/common/sdk-task.ps1 b/eng/common/sdk-task.ps1 index c35087a06019e..39be08d4b16c4 100644 --- a/eng/common/sdk-task.ps1 +++ b/eng/common/sdk-task.ps1 @@ -64,7 +64,7 @@ try { $GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty } if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) { - $GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.2.1" -MemberType NoteProperty + $GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.3.1" -MemberType NoteProperty } if ($GlobalJson.tools."xcopy-msbuild".Trim() -ine "none") { $xcopyMSBuildToolsFolder = InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index aba6308ad313c..449126943299e 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -365,8 +365,8 @@ function InitializeVisualStudioMSBuild([bool]$install, [object]$vsRequirements = # If the version of msbuild is going to be xcopied, # use this version. Version matches a package here: - # https://dev.azure.com/dnceng/public/_packaging?_a=package&feed=dotnet-eng&package=RoslynTools.MSBuild&protocolType=NuGet&version=17.2.1&view=overview - $defaultXCopyMSBuildVersion = '17.2.1' + # https://dev.azure.com/dnceng/public/_packaging?_a=package&feed=dotnet-eng&package=RoslynTools.MSBuild&protocolType=NuGet&version=17.3.1view=overview + $defaultXCopyMSBuildVersion = '17.3.1' if (!$vsRequirements) { if (Get-Member -InputObject $GlobalJson.tools -Name 'vs') { diff --git a/global.json b/global.json index 9df6d87a17155..b8e556215eafe 100644 --- a/global.json +++ b/global.json @@ -1,16 +1,16 @@ { "sdk": { - "version": "7.0.100-rc.1.22431.11", + "version": "7.0.100-rc.2.22477.23", "allowPrerelease": true, "rollForward": "major" }, "tools": { - "dotnet": "7.0.100-rc.1.22431.11" + "dotnet": "7.0.100-rc.2.22477.23" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22457.4", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22457.4", - "Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22457.4", + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22513.4", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22513.4", + "Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22513.4", "Microsoft.Build.NoTargets": "3.5.0", "Microsoft.Build.Traversal": "3.1.6", "Microsoft.NET.Sdk.IL": "7.0.0-rc.1.22414.6" From 649930022701e06f675f90bba8309e16fc1e0898 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Tue, 18 Oct 2022 21:28:03 +0000 Subject: [PATCH 2/2] Update dependencies from https://github.com/dotnet/arcade build 20221014.3 Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 7.0.0-beta.22457.4 -> To Version 7.0.0-beta.22514.3 --- eng/Version.Details.xml | 76 ++++++++++++++++++++--------------------- eng/Versions.props | 32 ++++++++--------- global.json | 6 ++-- 3 files changed, 57 insertions(+), 57 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 45fdcf9a70cf6..584b837eca303 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -58,77 +58,77 @@ - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 https://github.com/dotnet/runtime-assets @@ -254,9 +254,9 @@ https://github.com/dotnet/xharness 5ebf69650b9f7b4ecab485be840b3022420f7812 - + https://github.com/dotnet/arcade - 02e28316bf35d1028683ee313f0794776bff18d1 + 3083cc93619dbb153fdb7907b332efa18908f039 https://dev.azure.com/dnceng/internal/_git/dotnet-optimization diff --git a/eng/Versions.props b/eng/Versions.props index 4efb400d3a5bc..64f2961c3b817 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -58,22 +58,22 @@ 7.0.100-rc.1.22402.1 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 2.5.1-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 - 7.0.0-beta.22513.4 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 2.5.1-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 + 7.0.0-beta.22514.3 6.0.0-preview.1.102 diff --git a/global.json b/global.json index b8e556215eafe..6dce5498c4dec 100644 --- a/global.json +++ b/global.json @@ -8,9 +8,9 @@ "dotnet": "7.0.100-rc.2.22477.23" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22513.4", - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22513.4", - "Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22513.4", + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22514.3", + "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22514.3", + "Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22514.3", "Microsoft.Build.NoTargets": "3.5.0", "Microsoft.Build.Traversal": "3.1.6", "Microsoft.NET.Sdk.IL": "7.0.0-rc.1.22414.6"