Skip to content

[feature/10.0] Update dependencies from dotnet/dotnet #8278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 37 commits into
base: feature/10.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c4f645c
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 21, 2025
63f9ce6
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 22, 2025
8c1a4d4
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 23, 2025
74dc8db
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 24, 2025
9e7556f
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 25, 2025
5a4ad62
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 27, 2025
89fce34
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 28, 2025
e15f68f
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 29, 2025
2d8f403
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] May 31, 2025
a0d9b7f
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 1, 2025
71d3811
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 2, 2025
df2a532
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 3, 2025
683ee62
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 4, 2025
61f8cf2
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 5, 2025
3ea00d8
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 6, 2025
e552894
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 10, 2025
695f859
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 11, 2025
e7ab42a
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 12, 2025
bbd65d7
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 13, 2025
0126ad9
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 14, 2025
aee8150
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 15, 2025
624d6c3
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 16, 2025
d741bc2
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 17, 2025
7b9912e
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 18, 2025
2ea78c0
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 19, 2025
9df0e7f
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 20, 2025
adaf576
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 21, 2025
544efc3
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 22, 2025
1b2aff7
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 23, 2025
9c5bbb4
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 24, 2025
c181de0
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 25, 2025
8cc09c8
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 26, 2025
b00fcdc
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 27, 2025
a5c7eda
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jun 28, 2025
77cbe43
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jul 1, 2025
9a3f4dc
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jul 2, 2025
e822a34
Update dependencies from https://github.com/dotnet/dotnet build 20250…
dotnet-maestro[bot] Jul 3, 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
48 changes: 24 additions & 24 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.AspNetCore.App.Runtime.win-x64" Version="10.0.0-preview.5.25267.102">
<Dependency Name="Microsoft.AspNetCore.App.Runtime.win-x64" Version="10.0.0-preview.7.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.Diagnostics.Monitoring" Version="9.0.0-preview.25279.1">
<Uri>https://github.com/dotnet/diagnostics</Uri>
Expand All @@ -12,55 +12,55 @@
<Uri>https://github.com/dotnet/diagnostics</Uri>
<Sha>8bbc63df036b0c31c865fc1ee0060564caf40f85</Sha>
</Dependency>
<Dependency Name="System.CommandLine" Version="2.0.0-beta5.25267.102">
<Dependency Name="System.CommandLine" Version="2.0.0-beta6.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25267.102">
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25267.102">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="10.0.0-beta.25267.102">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="10.0.0-beta.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="10.0.0-beta.25267.102">
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="10.0.0-beta.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="10.0.0-beta.25267.102">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="10.0.0-beta.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="10.0.0-beta.25267.102">
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="10.0.0-beta.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="Microsoft.FileFormats" Version="1.0.627901">
<Uri>https://github.com/dotnet/diagnostics</Uri>
<Sha>8bbc63df036b0c31c865fc1ee0060564caf40f85</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="10.0.0-preview.5.25267.102">
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="10.0.0-preview.7.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="VS.Redist.Common.AspNetCore.SharedFramework.x64.10.0" Version="10.0.0-preview.5.25267.102">
<Dependency Name="VS.Redist.Common.AspNetCore.SharedFramework.x64.10.0" Version="10.0.0-preview.7.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="VS.Redist.Common.NetCore.SdkPlaceholder.x64.10.0" Version="10.0.100-preview.5.25267.102">
<Dependency Name="VS.Redist.Common.NetCore.SdkPlaceholder.x64.10.0" Version="10.0.100-preview.7.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.10.0" Version="10.0.0-preview.5.25267.102">
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.10.0" Version="10.0.0-preview.7.25351.106">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>170498a9429a5553fe7ac0ec2341d19bbb97cbe8</Sha>
<Sha>eaa19c281d34580a8168cff9ce1e7337da8bfe4f</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
20 changes: 10 additions & 10 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@
<MicrosoftDiagnosticsMonitoringEventPipeVersion>9.0.0-preview.25279.1</MicrosoftDiagnosticsMonitoringEventPipeVersion>
<MicrosoftFileFormatsVersion>1.0.627901</MicrosoftFileFormatsVersion>
<!-- dotnet/dotnet references -->
<MicrosoftAspNetCoreAppRuntimewinx64Version>10.0.0-preview.5.25267.102</MicrosoftAspNetCoreAppRuntimewinx64Version>
<MicrosoftCodeAnalysisNetAnalyzersVersion>10.0.0-preview.25267.102</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftDotNetBuildTasksArchivesVersion>10.0.0-beta.25267.102</MicrosoftDotNetBuildTasksArchivesVersion>
<MicrosoftDotNetCodeAnalysisVersion>10.0.0-beta.25267.102</MicrosoftDotNetCodeAnalysisVersion>
<MicrosoftDotNetXUnitExtensionsVersion>10.0.0-beta.25267.102</MicrosoftDotNetXUnitExtensionsVersion>
<MicrosoftNETCoreAppRuntimewinx64Version>10.0.0-preview.5.25267.102</MicrosoftNETCoreAppRuntimewinx64Version>
<SystemCommandLineVersion>2.0.0-beta5.25267.102</SystemCommandLineVersion>
<VSRedistCommonAspNetCoreSharedFrameworkx64100Version>10.0.0-preview.5.25267.102</VSRedistCommonAspNetCoreSharedFrameworkx64100Version>
<VSRedistCommonNetCoreSdkPlaceholderx64100Version>10.0.100-preview.5.25267.102</VSRedistCommonNetCoreSdkPlaceholderx64100Version>
<VSRedistCommonNetCoreSharedFrameworkx64100Version>10.0.0-preview.5.25267.102</VSRedistCommonNetCoreSharedFrameworkx64100Version>
<MicrosoftAspNetCoreAppRuntimewinx64Version>10.0.0-preview.7.25351.106</MicrosoftAspNetCoreAppRuntimewinx64Version>
<MicrosoftCodeAnalysisNetAnalyzersVersion>10.0.0-preview.25351.106</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftDotNetBuildTasksArchivesVersion>10.0.0-beta.25351.106</MicrosoftDotNetBuildTasksArchivesVersion>
<MicrosoftDotNetCodeAnalysisVersion>10.0.0-beta.25351.106</MicrosoftDotNetCodeAnalysisVersion>
<MicrosoftDotNetXUnitExtensionsVersion>10.0.0-beta.25351.106</MicrosoftDotNetXUnitExtensionsVersion>
<MicrosoftNETCoreAppRuntimewinx64Version>10.0.0-preview.7.25351.106</MicrosoftNETCoreAppRuntimewinx64Version>
<SystemCommandLineVersion>2.0.0-beta6.25351.106</SystemCommandLineVersion>
<VSRedistCommonAspNetCoreSharedFrameworkx64100Version>10.0.0-preview.7.25351.106</VSRedistCommonAspNetCoreSharedFrameworkx64100Version>
<VSRedistCommonNetCoreSdkPlaceholderx64100Version>10.0.100-preview.7.25351.106</VSRedistCommonNetCoreSdkPlaceholderx64100Version>
<VSRedistCommonNetCoreSharedFrameworkx64100Version>10.0.0-preview.7.25351.106</VSRedistCommonNetCoreSharedFrameworkx64100Version>
</PropertyGroup>
<PropertyGroup Label="Runtime Versions">
<MicrosoftAspNetCoreApp80Version>$(MicrosoftNETCoreApp80Version)</MicrosoftAspNetCoreApp80Version>
Expand Down
3 changes: 3 additions & 0 deletions eng/common/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Param(
[switch] $publish,
[switch] $clean,
[switch][Alias('pb')]$productBuild,
[switch]$fromVMR,
[switch][Alias('bl')]$binaryLog,
[switch][Alias('nobl')]$excludeCIBinarylog,
[switch] $ci,
Expand Down Expand Up @@ -74,6 +75,7 @@ function Print-Usage() {
Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
Write-Host " -nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
Write-Host " -buildCheck Sets /check msbuild parameter"
Write-Host " -fromVMR Set when building from within the VMR"
Write-Host ""

Write-Host "Command line arguments not listed above are passed thru to msbuild."
Expand Down Expand Up @@ -128,6 +130,7 @@ function Build {
/p:Test=$test `
/p:Pack=$pack `
/p:DotNetBuild=$productBuild `
/p:DotNetBuildFromVMR=$fromVMR `
/p:IntegrationTest=$integrationTest `
/p:PerformanceTest=$performanceTest `
/p:Sign=$sign `
Expand Down
14 changes: 10 additions & 4 deletions eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ usage()
echo " --nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
echo " --warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
echo " --buildCheck <value> Sets /check msbuild parameter"
echo " --fromVMR Set when building from within the VMR"
echo ""
echo "Command line arguments not listed above are passed thru to msbuild."
echo "Arguments can also be passed in with a single hyphen."
Expand All @@ -64,6 +65,7 @@ restore=false
build=false
source_build=false
product_build=false
from_vmr=false
rebuild=false
test=false
integration_test=false
Expand All @@ -89,7 +91,7 @@ verbosity='minimal'
runtime_source_feed=''
runtime_source_feed_key=''

properties=''
properties=()
while [[ $# > 0 ]]; do
opt="$(echo "${1/#--/-}" | tr "[:upper:]" "[:lower:]")"
case "$opt" in
Expand Down Expand Up @@ -142,6 +144,9 @@ while [[ $# > 0 ]]; do
restore=true
pack=true
;;
-fromvmr|-from-vmr)
from_vmr=true
;;
-test|-t)
test=true
;;
Expand Down Expand Up @@ -187,7 +192,7 @@ while [[ $# > 0 ]]; do
shift
;;
*)
properties="$properties $1"
properties+=("$1")
;;
esac

Expand Down Expand Up @@ -221,7 +226,7 @@ function Build {
InitializeCustomToolset

if [[ ! -z "$projects" ]]; then
properties="$properties /p:Projects=$projects"
properties+=("/p:Projects=$projects")
fi

local bl=""
Expand All @@ -243,6 +248,7 @@ function Build {
/p:Build=$build \
/p:DotNetBuild=$product_build \
/p:DotNetBuildSourceOnly=$source_build \
/p:DotNetBuildFromVMR=$from_vmr \
/p:Rebuild=$rebuild \
/p:Test=$test \
/p:Pack=$pack \
Expand All @@ -251,7 +257,7 @@ function Build {
/p:Sign=$sign \
/p:Publish=$publish \
/p:RestoreStaticGraphEnableBinaryLogger=$binary_log \
$properties
${properties[@]+"${properties[@]}"}

ExitWithExitCode 0
}
Expand Down
5 changes: 2 additions & 3 deletions eng/common/core-templates/job/onelocbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ jobs:
isAutoCompletePrSelected: ${{ parameters.AutoCompletePr }}
${{ if eq(parameters.CreatePr, true) }}:
isUseLfLineEndingsSelected: ${{ parameters.UseLfLineEndings }}
${{ if eq(parameters.RepoType, 'gitHub') }}:
isShouldReusePrSelected: ${{ parameters.ReusePr }}
isShouldReusePrSelected: ${{ parameters.ReusePr }}
packageSourceAuth: patAuth
patVariable: ${{ parameters.CeapexPat }}
${{ if eq(parameters.RepoType, 'gitHub') }}:
Expand Down Expand Up @@ -118,4 +117,4 @@ jobs:
pathToPublish: '$(Build.SourcesDirectory)/eng/Localize/'
publishLocation: Container
artifactName: Loc
condition: ${{ parameters.condition }}
condition: ${{ parameters.condition }}
49 changes: 42 additions & 7 deletions eng/common/core-templates/job/publish-build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ parameters:
# Optional: 🌤️ or not the build has assets it wants to publish to BAR
isAssetlessBuild: false

# Optional, publishing version
publishingVersion: 3

# Optional: A minimatch pattern for the asset manifests to publish to BAR
assetManifestsPattern: '*/manifests/**/*.xml'

jobs:
- job: Asset_Registry_Publish

Expand Down Expand Up @@ -77,13 +83,31 @@ jobs:
clean: true

- ${{ if eq(parameters.isAssetlessBuild, 'false') }}:
- task: DownloadPipelineArtifact@2
displayName: Download Asset Manifests
inputs:
artifactName: AssetManifests
targetPath: '$(Build.StagingDirectory)/AssetManifests'
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- ${{ if eq(parameters.publishingVersion, 3) }}:
- task: DownloadPipelineArtifact@2
displayName: Download Asset Manifests
inputs:
artifactName: AssetManifests
targetPath: '$(Build.StagingDirectory)/AssetManifests'
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- ${{ if eq(parameters.publishingVersion, 4) }}:
- task: DownloadPipelineArtifact@2
displayName: Download V4 asset manifests
inputs:
itemPattern: '*/manifests/**/*.xml'
targetPath: '$(Build.StagingDirectory)/AllAssetManifests'
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}
- task: CopyFiles@2
displayName: Copy V4 asset manifests to AssetManifests
inputs:
SourceFolder: '$(Build.StagingDirectory)/AllAssetManifests'
Contents: ${{ parameters.assetManifestsPattern }}
TargetFolder: '$(Build.StagingDirectory)/AssetManifests'
flattenFolders: true
condition: ${{ parameters.condition }}
continueOnError: ${{ parameters.continueOnError }}

- task: NuGetAuthenticate@1

Expand Down Expand Up @@ -120,6 +144,17 @@ jobs:
Copy-Item -Path $symbolExclusionfile -Destination "$(Build.StagingDirectory)/ReleaseConfigs"
}

- ${{ if eq(parameters.publishingVersion, 4) }}:
- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
parameters:
is1ESPipeline: ${{ parameters.is1ESPipeline }}
args:
targetPath: '$(Build.ArtifactStagingDirectory)/MergedManifest.xml'
artifactName: AssetManifests
displayName: 'Publish Merged Manifest'
retryCountOnTaskFailure: 10 # for any logs being locked
sbomEnabled: false # we don't need SBOM for logs

- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
parameters:
is1ESPipeline: ${{ parameters.is1ESPipeline }}
Expand Down
3 changes: 0 additions & 3 deletions eng/common/core-templates/post-build/post-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ stages:
buildId: $(AzDOBuildId)
artifactName: PackageArtifacts
checkDownloadedFiles: true
itemPattern: |
**
!**/Microsoft.SourceBuild.Intermediate.*.nupkg

# This is necessary whenever we want to publish/restore to an AzDO private feed
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here
Expand Down
39 changes: 4 additions & 35 deletions eng/common/core-templates/steps/install-microbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ steps:
${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}:
azureSubscription: 'MicroBuild Signing Task (DevDiv)'
useEsrpCli: true
${{ elseif eq(variables['System.TeamProject'], 'DevDiv') }}:
ConnectedPMEServiceName: 6cc74545-d7b9-4050-9dfa-ebefcc8961ea
${{ else }}:
ConnectedPMEServiceName: 248d384a-b39b-46e3-8ad5-c2c210d5e7ca
env:
TeamName: $(_TeamName)
MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }}
Expand All @@ -48,38 +52,3 @@ steps:
eq(variables['_SignType'], 'real')
)
))

# Workaround for ESRP CLI on Linux - https://github.com/dotnet/source-build/issues/4964
- ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:
- task: UseDotNet@2
displayName: Install .NET 9.0 SDK for ESRP CLI Workaround
inputs:
packageType: sdk
version: 9.0.x
installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet
workingDirectory: ${{ parameters.microBuildOutputFolder }}
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))

- task: PowerShell@2
displayName: Workaround for ESRP CLI on Linux
inputs:
targetType: 'inline'
script: |
Write-Host "Copying Linux Path"
$MBSIGN_APPFOLDER = '$(MBSIGN_APPFOLDER)'
$MBSIGN_APPFOLDER = ($MBSIGN_APPFOLDER -replace '/build', '')

$versionRegex = '\d+\.\d+\.\d+'
$package = Get-ChildItem -Path $MBSIGN_APPFOLDER -Directory |
Where-Object { $_.Name -match $versionRegex }

if ($package.Count -ne 1) {
Write-Host "There should be exactly one matching subfolder, but found $($package.Count)."
exit 1
}

$MBSIGN_APPFOLDER = $package[0].FullName + '/build'
$MBSIGN_APPFOLDER | Write-Host
$SignConfigPath = $MBSIGN_APPFOLDER + '/signconfig.xml'
Copy-Item -Path "$(MBSIGN_APPFOLDER)/signconfig.xml" -Destination $SignConfigPath -Force
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
6 changes: 0 additions & 6 deletions eng/common/core-templates/steps/source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ steps:
targetRidArgs='/p:TargetRid=${{ parameters.platform.targetRID }}'
fi
baseRidArgs=
if [ '${{ parameters.platform.baseRID }}' != '' ]; then
baseRidArgs='/p:BaseRid=${{ parameters.platform.baseRID }}'
fi
portableBuildArgs=
if [ '${{ parameters.platform.portableBuild }}' != '' ]; then
portableBuildArgs='/p:PortableBuild=${{ parameters.platform.portableBuild }}'
Expand All @@ -55,7 +50,6 @@ steps:
${{ parameters.platform.buildArguments }} \
$internalRuntimeDownloadArgs \
$targetRidArgs \
$baseRidArgs \
$portableBuildArgs \
displayName: Build

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
parameters:
sourceIndexUploadPackageVersion: 2.0.0-20250425.2
sourceIndexProcessBinlogPackageVersion: 1.0.1-20250425.2
sourceIndexProcessBinlogPackageVersion: 1.0.1-20250515.1
sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
binlogPath: artifacts/log/Debug/Build.binlog

steps:
- task: UseDotNet@2
displayName: "Source Index: Use .NET 8 SDK"
displayName: "Source Index: Use .NET 9 SDK"
inputs:
packageType: sdk
version: 8.0.x
version: 9.0.x
installationPath: $(Agent.TempDirectory)/dotnet
workingDirectory: $(Agent.TempDirectory)

Expand Down
Loading
Loading