From 16ca58499038f1a20b06aa432fa6099fc58e0473 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 26 Feb 2026 13:54:20 -0800 Subject: [PATCH] [release/v7.4.14] Bring Release Changes from v7.6.0-preview.6 (#26911) Co-authored-by: Travis Plunk Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com> --- .pipelines/templates/release-MSIX-Publish.yml | 4 ++-- build.psm1 | 19 ++++++++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.pipelines/templates/release-MSIX-Publish.yml b/.pipelines/templates/release-MSIX-Publish.yml index 47be4e0db2..7f01e16afd 100644 --- a/.pipelines/templates/release-MSIX-Publish.yml +++ b/.pipelines/templates/release-MSIX-Publish.yml @@ -99,7 +99,7 @@ jobs: - task: MS-RDX-MRO.windows-store-publish.publish-task.store-publish@3 displayName: 'Publish StoreBroker Package (Stable/LTS)' - condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), or(eq('$(STABLE)', 'true'), eq('$(LTS)', 'true'))) + condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), or(eq(variables['STABLE'], 'true'), eq(variables['LTS'], 'true'))) inputs: serviceEndpoint: 'StoreAppPublish-Stable' appId: '$(AppID)' @@ -112,7 +112,7 @@ jobs: - task: MS-RDX-MRO.windows-store-publish.publish-task.store-publish@3 displayName: 'Publish StoreBroker Package (Preview)' - condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), eq('$(PREVIEW)', 'true')) + condition: and(ne('${{ parameters.skipMSIXPublish }}', 'true'), eq(variables['PREVIEW'], 'true')) inputs: serviceEndpoint: 'StoreAppPublish-Preview' appId: '$(AppID)' diff --git a/build.psm1 b/build.psm1 index ddd5014d0d..f48a581514 100644 --- a/build.psm1 +++ b/build.psm1 @@ -2530,6 +2530,23 @@ function Start-PSBootstrap { Write-LogGroupEnd -Title "Install Windows Dependencies" } + # Ensure dotnet is available + Find-Dotnet + + if (-not $env:TF_BUILD) { + if ($Scenario -in 'All', 'Tools') { + Write-LogGroupStart -Title "Install .NET Global Tools" + Write-Log -message "Installing .NET global tools" + + # Install dotnet-format + Write-Verbose -Verbose "Installing dotnet-format global tool" + Start-NativeExecution { + dotnet tool install --global dotnet-format + } + Write-LogGroupEnd -Title "Install .NET Global Tools" + } + } + if ($env:TF_BUILD) { Write-LogGroupStart -Title "Capture NuGet Sources" Write-Verbose -Verbose "--- Start - Capturing nuget sources" @@ -3980,4 +3997,4 @@ function Set-PipelineVariable { # also set in the current session Set-Item -Path "env:$Name" -Value $Value -} +} \ No newline at end of file