Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8e87e57
[vs17.10] Update dependencies from dotnet/arcade (#11586)
dotnet-maestro[bot] Mar 18, 2025
a7363f1
[vs17.11] Update dependencies from dotnet/arcade (#11585)
dotnet-maestro[bot] Mar 19, 2025
1ea6cee
add preview suffix in experimental CI Builds, enable expinsert (#11534)
JanProvaznik Apr 2, 2025
b46a62a
Add the check on version bump up (#11469)
GangWang01 Apr 3, 2025
6c0a39c
Update VersionPrefix to 17.10.25
YuliiaKovalova Apr 3, 2025
cf8fc7f
Merge branch 'vs17.10' into merge/vs17.8-to-vs17.10
YuliiaKovalova Apr 3, 2025
54a3d0c
[automated] Merge branch 'vs17.8' => 'vs17.10' (#11668)
JaynieBai Apr 7, 2025
822af7d
[vs17.11] Update dependencies from dotnet/arcade (#11691)
dotnet-maestro[bot] Apr 8, 2025
6cb62fe
[vs17.8] Update dependencies from dotnet/arcade (#11688)
dotnet-maestro[bot] Apr 8, 2025
e8f3d27
[automated] Merge branch 'vs17.10' => 'vs17.11' (#11687)
github-actions[bot] Apr 9, 2025
12f3204
[vs17.10] Update dependencies from dotnet/arcade (#11693)
dotnet-maestro[bot] Apr 9, 2025
65a6534
[vs17.8] Update dependencies from dotnet/arcade (#11711)
dotnet-maestro[bot] Apr 10, 2025
323d4b3
[vs17.10] Update dependencies from dotnet/arcade (#11713)
dotnet-maestro[bot] Apr 10, 2025
3ab07f0
[vs17.8] DownloadFile should not rely on the response headers
Apr 10, 2025
b0cdc26
[vs17.10] DownloadFile should not rely on the response headers
Apr 10, 2025
933b72e
Merged PR 627361: [vs17.11] DownloadFile should not rely on the respo…
Apr 10, 2025
bc60720
[vs17.11] Update dependencies from dotnet/arcade (#11712)
dotnet-maestro[bot] Apr 14, 2025
0479d98
[vs17.8] Revert to GA package references
YuliiaKovalova Apr 16, 2025
221b261
Merged PR 628249: [vs17.10] revert 10725 (code QL fixes)
YuliiaKovalova Apr 17, 2025
a3cc3e3
Merged PR 630435: [VS17.8] Version bump
Apr 22, 2025
27f9d42
Merged PR 630788: [VS17.10] Version bump
Apr 23, 2025
eb450c9
disable bootstrap
surayya-MS May 23, 2025
3b68347
disable bootstrap
surayya-MS May 23, 2025
80db04e
skip failing tests after disabling bootstrap
surayya-MS May 23, 2025
37f4df2
update ubuntu image
surayya-MS May 23, 2025
4a6df2d
skip failing tests after disabling bootstrap
surayya-MS May 23, 2025
b1d27f0
update ubuntu image
surayya-MS May 23, 2025
2e2d89a
[vs17.8] Merge tag v17.8.29 (#11866)
surayya-MS May 26, 2025
fb90280
[vs17.10] Merge tag v17.10.29 (#11865)
surayya-MS May 26, 2025
d832838
[vs17.8] Update dependencies from dotnet/arcade (#11746)
dotnet-maestro[bot] May 28, 2025
7c941d2
[vs17.10] Update dependencies from dotnet/arcade (#11750)
dotnet-maestro[bot] May 28, 2025
9f766d9
[vs17.11] Update dependencies from dotnet/arcade (#11748)
dotnet-maestro[bot] May 28, 2025
bfb7771
Merge branch 'vs17.10' into merge/vs17.8-to-vs17.10
surayya-MS May 30, 2025
04101d3
bump VersionPrefix to 17.10.31
surayya-MS May 30, 2025
b6c2ecb
[automated] Merge branch 'vs17.8' => 'vs17.10' (#11904)
surayya-MS May 30, 2025
f4ecc74
Merge tag 'v17.11.31' into vs17.11
rainersigwald Jun 6, 2025
adc7800
Merge remote-tracking branch 'upstream/vs17.10' into merge/vs17.10-to…
rainersigwald Jun 6, 2025
6c6276d
Merge remote-tracking branch 'upstream/vs17.11' into merge/vs17.11-to…
rainersigwald Jun 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vsts-dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variables:

jobs:
- job: CheckVersionBumpOnReleaseBranches
condition: startsWith(variables['System.PullRequest.TargetBranch'], 'vs')
displayName: "Check Version Bump On Release Branches"
steps:
- powershell: |
Expand Down
4 changes: 4 additions & 0 deletions .vsts-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ variables:
value: false # Disable loc for vs17.12
- name: Codeql.Enabled
value: true
# ensures we don't build and push experimental versions to official feeds as release versions
- name: IsExperimental
value: ${{ startsWith(variables['Build.SourceBranch'], 'refs/heads/exp/') }}
- group: DotNet-MSBuild-SDLValidation-Params
- group: AzureDevOps-Artifact-Feeds-Pats
- name: cfsNugetWarnLevel
Expand Down Expand Up @@ -175,6 +178,7 @@ extends:
/p:DotNetPublishUsingPipelines=true
/p:VisualStudioIbcDrop=$(OptProfDrop)
/p:GenerateSbom=true
/p:SuppressFinalPackageVersion=$(IsExperimental)
displayName: Build
condition: succeeded()

Expand Down
181 changes: 181 additions & 0 deletions azure-pipelines/vs-insertion-experimental.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
# Create an experimental VS insertion auto-triggered from exp/* branches to validate changes before merging to main
trigger: none
name: $(Date:yyyyMMdd).$(Rev:r)

resources:
pipelines:
- pipeline: 'MSBuild'
project: 'DevDiv'
source: 'MSBuild'
trigger:
branches:
include:
- exp/*
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

parameters:
- name: TargetBranch
type: string
default: main
displayName: 'Insertion Target Branch (select for manual insertion)'
values:
- main
- rel/d17.14
- rel/d17.13
- rel/d17.12
- rel/d17.11
- rel/d17.10
- rel/d17.8
- rel/d17.6
- rel/d17.3
- rel/d17.0

variables:
- name: TeamName
value: msbuild
- name: TeamEmail
value: msbtm@microsoft.com
- name: MSBuild_CI_BuildNumber
value: $(resources.pipeline.MSBuild.runName)
- name: MSBuild_CI_SourceVersion
value: $(resources.pipeline.MSBuild.sourceCommit)
- name: ArtifactPackagesPath
value: $(Build.ArtifactStagingDirectory)/PackageArtifacts

- name: MSBuildPackagePattern
value: '$(ArtifactPackagesPath)/Microsoft.Build.*.nupkg'
- name: StringToolsPackagePattern
value: '$(ArtifactPackagesPath)/Microsoft.NET.StringTools*.nupkg'
- name: ExternalAPIsPackagePattern
value: '$(ArtifactPackagesPath)/VS.ExternalAPIs.*.nupkg'

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: VSEngSS-MicroBuild2022-1ES
stages:
- stage: VSInsertion
displayName: VS insertion
variables:
VSDropPath: https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/DotNet-msbuild-Trusted/$(SourceBranchName)/$(MSBuild_CI_BuildNumber)
VSManVersionSuffix: $(MSBuild_ExtApisPackageVersion)+$(MSBuild_CI_SourceVersion)
StandardVSManPath: Microsoft.Build.vsman{$(VSManVersionSuffix)}=$(VSDropPath);Microsoft.Build.vsman
Arm64VSManPath: Microsoft.Build.Arm64.vsman{$(VSManVersionSuffix)}=$(VSDropPath);Microsoft.Build.Arm64.vsman
UnGACVSManPath: Microsoft.Build.UnGAC.vsman=$(VSDropPath);Microsoft.Build.UnGAC.vsman
InsertJsonValues: $(StandardVSManPath),$(Arm64VSManPath),$(UnGACVSManPath)
InsertConfigValues: VS.ExternalAPIs.MSBuild=$(MSBuild_ExtApisPackageVersion)
InsertCustomScriptExecutionCommand: $(Pipeline.Workspace)\xsd\Update-MSBuildXsds.ps1
InsertDescription: Insert MSBuild $(MSBuild_CI_BuildNumber) from the branch $(SourceBranchName) at commit $(MSBuild_CI_SourceVersion). Corresponding package version is $(MSBuild_ExtApisPackageVersion)
InsertPayloadName: '[Experimental] [Skip-SymbolCheck] MSBuild $(SourceBranchName) $(MSBuild_ExtApisPackageVersion)'
jobs:
- job: PushPackagesAndInsert
displayName: Push Packages and Insert VS payload
condition: succeeded()
timeoutInMinutes: 0
templateContext:
inputs:
- input: pipelineArtifact
pipeline: 'MSBuild'
artifactName: 'xsd'
targetPath: '$(Pipeline.Workspace)/xsd'
- input: pipelineArtifact
pipeline: 'MSBuild'
artifactName: 'PackageArtifacts'
targetPath: '$(Build.ArtifactStagingDirectory)/PackageArtifacts'
# the CI build creates a sourcebuild intermediate package that is not signed, remove it to avoid warning from Guardian
itemPattern: |
**
!**/Microsoft.SourceBuild.Intermediate*.nupkg
steps:
- task: Powershell@2
name: SetSourceBranch
displayName: Set source branch name
inputs:
targetType: inline
script: |
# Extract the last section after the last '/'
$fullBranch = "$(resources.pipeline.MSBuild.sourceBranch)"
$branchSegments = $fullBranch -split '/'
$branch = $branchSegments[-1]
Write-Host "Setting drops branch to '$branch'"
Write-Host "##vso[task.setvariable variable=SourceBranchName]$branch"

- task: Powershell@2
name: DetermineTargetBranch
displayName: Determine target branch
inputs:
targetType: inline
script: |
# Extract VS version from branch name if it follows exp/vsXX.Y-somename pattern
$fullBranch = "$(resources.pipeline.MSBuild.sourceBranch)"
$parameterTargetBranch = "${{ parameters.TargetBranch }}"
$detectedTarget = "main" # Default target branch

# Try to match the pattern with regex
if ($fullBranch -match "exp/vs(\d+)\.(\d+).*") {
$major = $matches[1]
$minor = $matches[2]
$targetBranch = "rel/d$major.$minor"
Write-Host "Detected version pattern in branch: $major.$minor"
Write-Host "Setting target branch to $targetBranch"
$detectedTarget = $targetBranch
} else {
Write-Host "No version pattern detected in branch, using default target: main"
}

# Determine which target branch to use based on build reason
$finalTargetBranch = $parameterTargetBranch
if ("$(Build.Reason)" -eq "ResourceTrigger" -or "$(Build.Reason)" -eq "PipelineCompletedTrigger") {
Write-Host "Build was triggered automatically, using detected target branch: $detectedTarget"
$finalTargetBranch = $detectedTarget
} else {
Write-Host "Build was triggered manually, using parameter target branch: $parameterTargetBranch"
}

Write-Host "##vso[task.setvariable variable=FinalTargetBranch]$finalTargetBranch"

- task: Powershell@2
name: PwshMungeExternalAPIsPkgVersion
displayName: Munge ExternalAPIs package version
inputs:
targetType: inline
script: |
$folder = "$(Build.ArtifactStagingDirectory)/PackageArtifacts/VS.ExternalAPIs.*.nupkg"
$packageFile = Get-ChildItem -Path $folder -Filter VS.ExternalAPIs.*.nupkg | Select-Object -First 1
$packageVersion = $packageFile.BaseName.TrimStart("VS.ExternalAPIs.MSBuild")
Write-Host "Setting MSBuild_ExtApisPackageVersion to '$packageVersion'"
Write-Host "##vso[task.setvariable variable=MSBuild_ExtApisPackageVersion]$($packageVersion)"
$folder = "$(Build.ArtifactStagingDirectory)/PackageArtifacts/Microsoft.NET.StringTools*.nupkg"
$packageFile = Get-ChildItem -Path $folder -Filter Microsoft.NET.StringTools*.nupkg | Select-Object -First 1
$packageVersion = $packageFile.BaseName.TrimStart("Microsoft.NET.StringTools")
Write-Host "Setting MicrosoftNETStringToolsPackageVersion to '$packageVersion'"
Write-Host "##vso[task.setvariable variable=MicrosoftNETStringToolsPackageVersion]$($packageVersion)"
- task: 1ES.PublishNuGet@1
displayName: 'Push MSBuild CoreXT packages'
inputs:
packageParentPath: '$(Build.ArtifactStagingDirectory)'
packagesToPush: $(MSBuildPackagePattern);$(StringToolsPackagePattern);$(ExternalAPIsPackagePattern)
nuGetFeedType: internal
publishVstsFeed: VS
allowPackageConflicts: true
- task: MicroBuildInsertVsPayload@4
name: MicroBuildInsertVsPayload_4
displayName: Insert VS Payload
inputs:
LinkWorkItemsToPR: true
TeamName: $(TeamName)
TeamEmail: $(TeamEmail)
TargetBranch: $(FinalTargetBranch)
InsertionPayloadName: $(InsertPayloadName)
PackagePropsValues: VS.ExternalAPIs.MSBuild=$(MSBuild_ExtApisPackageVersion);Microsoft.Build=$(MicrosoftNETStringToolsPackageVersion);Microsoft.Build.Framework=$(MicrosoftNETStringToolsPackageVersion);Microsoft.Build.Tasks.Core=$(MicrosoftNETStringToolsPackageVersion);Microsoft.Build.Utilities.Core=$(MicrosoftNETStringToolsPackageVersion);Microsoft.NET.StringTools=$(MicrosoftNETStringToolsPackageVersion)
InsertionDescription: $(InsertDescription)
ComponentJsonValues: $(InsertJsonValues)
DefaultConfigValues: $(InsertConfigValues)
InsertionReviewers: MSBuild
CustomScriptExecutionCommand: $(InsertCustomScriptExecutionCommand)
InsertionBuildPolicy: Request Perf DDRITs
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
<Project>
<PropertyGroup>
<VersionPrefix>17.12.37</VersionPrefix>
<VersionPrefix>17.12.38</VersionPrefix>
<DotNetFinalVersionKind>release</DotNetFinalVersionKind>
<PackageValidationBaselineVersion>17.11.4</PackageValidationBaselineVersion>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
Expand Down
Loading