diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index a6e250434145..715368b406b8 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -555,34 +555,34 @@ - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f - + https://github.com/dotnet/arcade - 6666973b629b24e259162dba03486c23af464bab + bcc287603101fa751ff666f17b661c5e40fef60f diff --git a/eng/Versions.props b/eng/Versions.props index 077d50fd048b..c41e06bf5e99 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -272,10 +272,10 @@ - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 - 9.0.0-beta.25515.2 + 9.0.0-beta.25561.1 + 9.0.0-beta.25561.1 + 9.0.0-beta.25561.1 + 9.0.0-beta.25561.1 diff --git a/eng/common/core-templates/job/publish-build-assets.yml b/eng/common/core-templates/job/publish-build-assets.yml index a58c8a418e8a..6b5ff28cc706 100644 --- a/eng/common/core-templates/job/publish-build-assets.yml +++ b/eng/common/core-templates/job/publish-build-assets.yml @@ -145,6 +145,11 @@ jobs: PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} is1ESPipeline: ${{ parameters.is1ESPipeline }} + # Darc is targeting 8.0, so make sure it's installed + - task: UseDotNet@2 + inputs: + version: 8.0.x + - task: AzureCLI@2 displayName: Publish Using Darc inputs: diff --git a/eng/common/core-templates/post-build/post-build.yml b/eng/common/core-templates/post-build/post-build.yml index 2ee8bbfff545..221d1ac6de19 100644 --- a/eng/common/core-templates/post-build/post-build.yml +++ b/eng/common/core-templates/post-build/post-build.yml @@ -305,6 +305,11 @@ stages: - task: NuGetAuthenticate@1 + # Darc is targeting 8.0, so make sure it's installed + - task: UseDotNet@2 + inputs: + version: 8.0.x + - task: AzureCLI@2 displayName: Publish Using Darc inputs: diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 01481d6e12cf..9b3ad8840fdb 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -295,7 +295,7 @@ function InstallDotNet([string] $dotnetRoot, if ($runtime -eq "aspnetcore") { $runtimePath = $runtimePath + "\Microsoft.AspNetCore.App" } if ($runtime -eq "windowsdesktop") { $runtimePath = $runtimePath + "\Microsoft.WindowsDesktop.App" } $runtimePath = $runtimePath + "\" + $version - + $dotnetVersionLabel = "runtime toolset '$runtime/$architecture v$version'" if (Test-Path $runtimePath) { @@ -547,25 +547,19 @@ function LocateVisualStudio([object]$vsRequirements = $null){ }) } - if (!$vsRequirements) { - if (Get-Member -InputObject $GlobalJson.tools -Name 'vs' -ErrorAction SilentlyContinue) { - $vsRequirements = $GlobalJson.tools.vs - } else { - $vsRequirements = $null - } - } + if (!$vsRequirements) { $vsRequirements = $GlobalJson.tools.vs } $args = @('-latest', '-format', 'json', '-requires', 'Microsoft.Component.MSBuild', '-products', '*') if (!$excludePrereleaseVS) { $args += '-prerelease' } - if ($vsRequirements -and (Get-Member -InputObject $vsRequirements -Name 'version' -ErrorAction SilentlyContinue)) { + if (Get-Member -InputObject $vsRequirements -Name 'version') { $args += '-version' $args += $vsRequirements.version } - if ($vsRequirements -and (Get-Member -InputObject $vsRequirements -Name 'components' -ErrorAction SilentlyContinue)) { + if (Get-Member -InputObject $vsRequirements -Name 'components') { foreach ($component in $vsRequirements.components) { $args += '-requires' $args += $component @@ -616,7 +610,7 @@ function InitializeBuildTool() { } else { $initializeBuildToolFramework=$env:_OverrideArcadeInitializeBuildToolFramework } - + $buildTool = @{ Path = $dotnetPath; Command = 'msbuild'; Tool = 'dotnet'; Framework = $initializeBuildToolFramework } } elseif ($msbuildEngine -eq "vs") { try { diff --git a/global.json b/global.json index 8d0dd39886de..f6484e480c28 100644 --- a/global.json +++ b/global.json @@ -17,8 +17,8 @@ "cmake": "latest" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.25515.2", - "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.25515.2", + "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.25561.1", + "Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.25561.1", "Microsoft.Build.NoTargets": "3.7.0", "Microsoft.DotNet.CMake.Sdk": "9.0.0-beta.24217.1" }