diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index f0f66343c..db4d487ea 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -196,33 +196,33 @@ - + https://github.com/dotnet/arcade - a264eb13fea14125f3ef8d4056586cd66fa55309 + 66cb5f1f50059cbafe25d1b75a1adbbced840d85 - + https://github.com/dotnet/arcade - a264eb13fea14125f3ef8d4056586cd66fa55309 + 66cb5f1f50059cbafe25d1b75a1adbbced840d85 - + https://github.com/dotnet/arcade - a264eb13fea14125f3ef8d4056586cd66fa55309 + 66cb5f1f50059cbafe25d1b75a1adbbced840d85 https://github.com/dotnet/source-build-reference-packages 993b067a1849e4884360b4548cbf74f0bfaa2f35 - + https://github.com/dotnet/sourcelink - bef48cb62fb4341d5dcdc29d2d75b598cad389fd + 39d159f2a663d836dc54704cfa74414be3e3338f - + https://github.com/dotnet/xliff-tasks - 351ae3d0bc892fe4cdbab6f5f60052216514f935 + ed12ca72fa781b3bdb1f4ca20bfc9467350e893c diff --git a/eng/Versions.props b/eng/Versions.props index 85e2abfa6..7a559fd74 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -26,7 +26,7 @@ - 7.0.0-beta.22327.2 + 7.0.0-beta.22354.1 diff --git a/eng/common/init-tools-native.ps1 b/eng/common/init-tools-native.ps1 index 24a5e65de..8d48ec568 100644 --- a/eng/common/init-tools-native.ps1 +++ b/eng/common/init-tools-native.ps1 @@ -87,6 +87,7 @@ try { $NativeTools.PSObject.Properties | ForEach-Object { $ToolName = $_.Name $ToolVersion = $_.Value + $InstalledTools = @{} if ((Get-Command "$ToolName" -ErrorAction SilentlyContinue) -eq $null) { if ($ToolVersion -eq "latest") { @@ -111,9 +112,10 @@ try { $ToolPath = Convert-Path -Path $BinPath Write-Host "Adding $ToolName to the path ($ToolPath)..." Write-Host "##vso[task.prependpath]$ToolPath" + $InstalledTools += @{ $ToolName = $ToolDirectory.FullName } } } - exit 0 + return $InstalledTools } else { $NativeTools.PSObject.Properties | ForEach-Object { $ToolName = $_.Name diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 395b43eeb..9638c63c7 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -635,7 +635,7 @@ function InitializeNativeTools() { InstallDirectory = "$ToolsDir" } } - if (Test-Path variable:NativeToolsOnMachine) { + if ($env:NativeToolsOnMachine) { Write-Host "Variable NativeToolsOnMachine detected, enabling native tool path promotion..." $nativeArgs += @{ PathPromotion = $true } } diff --git a/global.json b/global.json index b05d836e3..c7d60c667 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "tools": { - "dotnet": "7.0.100-preview.2.22153.17", + "dotnet": "7.0.100-preview.5.22307.18", "runtimes": { "dotnet": [ "$(VSRedistCommonNetCoreSharedFrameworkx6470PackageVersion)" @@ -11,7 +11,7 @@ "cmake": "3.16.4" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22327.2", - "Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.22327.2" + "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22354.1", + "Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.22354.1" } }