Skip to content

Commit fc7525d

Browse files
dotnet-maestro[bot]EvangelinkCopilot
authored
[main] Update dependencies from devdiv/DevDiv/vs-code-coverage, dotnet/arcade (#12195)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Amaury Levé <amauryleve@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 31d9bc8 commit fc7525d

9 files changed

Lines changed: 34 additions & 35 deletions

File tree

‎eng/Version.Details.xml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
33
<ToolsetDependencies>
4-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="12.0.0-beta.26552.1">
4+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="12.0.0-beta.26553.8">
55
<Uri>https://github.com/dotnet/arcade</Uri>
6-
<Sha>daa1c02c8aef777d6e2afa3812963e4a6be12646</Sha>
6+
<Sha>85bfd17305322c5e82908b990c75495ef07ccf88</Sha>
77
</Dependency>
8-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="12.0.0-beta.26552.1">
8+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="12.0.0-beta.26553.8">
99
<Uri>https://github.com/dotnet/arcade</Uri>
10-
<Sha>daa1c02c8aef777d6e2afa3812963e4a6be12646</Sha>
10+
<Sha>85bfd17305322c5e82908b990c75495ef07ccf88</Sha>
1111
</Dependency>
12-
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="12.0.0-beta.26552.1">
12+
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="12.0.0-beta.26553.8">
1313
<Uri>https://github.com/dotnet/arcade</Uri>
14-
<Sha>daa1c02c8aef777d6e2afa3812963e4a6be12646</Sha>
14+
<Sha>85bfd17305322c5e82908b990c75495ef07ccf88</Sha>
1515
</Dependency>
16-
<Dependency Name="Microsoft.Testing.Extensions.CodeCoverage" Version="18.13.0-preview.26530.1">
16+
<Dependency Name="Microsoft.Testing.Extensions.CodeCoverage" Version="18.13.0-preview.26553.3">
1717
<Uri>https://dev.azure.com/devdiv/DevDiv/_git/vs-code-coverage</Uri>
18-
<Sha>fe4721e980b711722351edfd491577a03b8d4421</Sha>
18+
<Sha>49bb65005205c1c860170596795c5ab704f186a0</Sha>
1919
</Dependency>
2020
<Dependency Name="Microsoft.Testing.Extensions.AffectedTests" Version="18.13.0-preview.26553.4">
2121
<Uri>https://dev.azure.com/devdiv/DevDiv/_git/vs-code-coverage</Uri>

‎eng/Versions.props‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
88
</PropertyGroup>
99
<PropertyGroup Label="MSTest prod dependencies - darc updated">
10-
<MicrosoftDotNetBuildTasksTemplatingPackageVersion>12.0.0-beta.26552.1</MicrosoftDotNetBuildTasksTemplatingPackageVersion>
11-
<MicrosoftTestingExtensionsCodeCoverageVersion>18.13.0-preview.26530.1</MicrosoftTestingExtensionsCodeCoverageVersion>
10+
<MicrosoftDotNetBuildTasksTemplatingPackageVersion>12.0.0-beta.26553.8</MicrosoftDotNetBuildTasksTemplatingPackageVersion>
11+
<MicrosoftTestingExtensionsCodeCoverageVersion>18.13.0-preview.26553.3</MicrosoftTestingExtensionsCodeCoverageVersion>
1212
<MicrosoftTestingExtensionsAffectedTestsVersion>18.13.0-preview.26553.4</MicrosoftTestingExtensionsAffectedTestsVersion>
1313
<!-- empty line to avoid merge conflicts for darc PRs to update CC and MSTest+MTP -->
1414
<MSTestVersion>4.6.0-preview.26531.5</MSTestVersion>

‎eng/common/core-templates/job/publish-build-assets.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ jobs:
187187
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
188188
is1ESPipeline: ${{ parameters.is1ESPipeline }}
189189

190-
# Darc is targeting 8.0, so make sure it's installed
190+
# Darc is targeting 10.0, so make sure it's installed
191191
- task: UseDotNet@2
192192
inputs:
193-
version: 8.0.x
193+
version: 10.0.x
194194

195195
- task: AzureCLI@2
196196
displayName: Publish Using Darc

‎eng/common/core-templates/post-build/post-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ stages:
301301

302302
- task: UseDotNet@2
303303
inputs:
304-
version: 8.0.x
304+
version: 10.0.x
305305

306306
- task: AzureCLI@2
307307
displayName: Publish Using Darc

‎eng/common/sdk-task.ps1‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,16 @@ function Print-Usage() {
4949
Write-Host "Command line arguments not listed above are passed thru to msbuild."
5050
}
5151

52-
function Build([string]$target) {
53-
$logSuffix = if ($target -eq 'Execute') { '' } else { ".$target" }
54-
$log = Join-Path $LogDir "$task$logSuffix.binlog"
52+
# Restore is driven by MSBuild's /restore switch, which the shared MSBuild helper adds
53+
# whenever restore is enabled. No separate restore invocation is necessary.
54+
function Build() {
55+
$log = Join-Path $LogDir "$task.binlog"
5556
$binaryLogArg = if ($binaryLog) { "/bl:$log" } else { "" }
5657
$outputPath = Join-Path $ToolsetDir "$task\"
5758

5859
MSBuild $taskProject `
5960
$binaryLogArg `
60-
/t:$target `
61+
/t:Execute `
6162
/p:Configuration=$configuration `
6263
/p:RepoRoot=$RepoRoot `
6364
/p:BaseIntermediateOutputPath=$outputPath `
@@ -88,11 +89,7 @@ try {
8889
ExitWithExitCode 1
8990
}
9091

91-
if ($restore) {
92-
Build 'Restore'
93-
}
94-
95-
Build 'Execute'
92+
Build
9693
}
9794
catch {
9895
Write-Host $_.ScriptStackTrace

‎eng/common/sdk-task.sh‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,17 @@ while [[ -h "$source" ]]; do
2828
done
2929
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
3030

31+
# Restore is driven by MSBuild's /restore switch, which the shared MSBuild helper adds
32+
# whenever restore is enabled. No separate restore invocation is necessary.
3133
Build() {
32-
local target=$1
33-
local log_suffix=""
34-
[[ "$target" != "Execute" ]] && log_suffix=".$target"
35-
local log="$log_dir/$task$log_suffix.binlog"
34+
local log="$log_dir/$task.binlog"
3635
local binaryLogArg=""
3736
[[ $binary_log == true ]] && binaryLogArg="/bl:$log"
3837
local output_path="$toolset_dir/$task/"
3938

4039
MSBuild "$taskProject" \
4140
$binaryLogArg \
42-
/t:"$target" \
41+
/t:Execute \
4342
/p:Configuration="$configuration" \
4443
/p:RepoRoot="$repo_root" \
4544
/p:BaseIntermediateOutputPath="$output_path" \
@@ -121,11 +120,7 @@ if [[ ! -e "$taskProject" ]]; then
121120
ExitWithExitCode 1
122121
fi
123122

124-
if $restore; then
125-
Build "Restore"
126-
fi
127-
128-
Build "Execute"
123+
Build
129124

130125

131126
ExitWithExitCode 0

‎eng/common/tools.ps1‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,9 @@ function MSBuild() {
811811
}
812812
}
813813

814-
$cmdArgs = "$($buildTool.Command) /m /nologo /clp:Summary /v:$verbosity /nr:$nodeReuse /p:ContinuousIntegrationBuild=$ci"
814+
$restoreSwitch = if ($restore) { ' /restore' } else { '' }
815+
816+
$cmdArgs = "$($buildTool.Command)$restoreSwitch /m /nologo /clp:Summary /v:$verbosity /nr:$nodeReuse /p:ContinuousIntegrationBuild=$ci"
815817

816818
# Build with MSBuild's multi-threaded mode, but not with msbuild.exe (VS MSBuild) for now.
817819
# TODO: Enable for VS MSBuild as well: https://github.com/dotnet/dotnet/issues/9989

‎eng/common/tools.sh‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,12 @@ function MSBuild {
615615
warnnotaserror_switch="/warnnotaserror:$warn_not_as_error /p:AdditionalWarningsNotAsErrors=${warn_not_as_error//;/%3B}"
616616
fi
617617

618-
RunBuildTool "$_InitializeBuildToolCommand" /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch $mt_switch $warnnotaserror_switch ${logger_switch[@]+"${logger_switch[@]}"} /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci "$@"
618+
local restore_switch=""
619+
if [[ "$restore" == true ]]; then
620+
restore_switch="/restore"
621+
fi
622+
623+
RunBuildTool "$_InitializeBuildToolCommand" $restore_switch /m /nologo /clp:Summary /v:$verbosity /nr:$node_reuse $warnaserror_switch $mt_switch $warnnotaserror_switch ${logger_switch[@]+"${logger_switch[@]}"} /p:TreatWarningsAsErrors=$warn_as_error /p:ContinuousIntegrationBuild=$ci "$@"
619624
}
620625

621626
function GetDarc {

‎global.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
}
6767
},
6868
"msbuild-sdks": {
69-
"Microsoft.DotNet.Arcade.Sdk": "12.0.0-beta.26552.1",
69+
"Microsoft.DotNet.Arcade.Sdk": "12.0.0-beta.26553.8",
7070
"MSBuild.Sdk.Extras": "3.0.44"
7171
}
7272
}

0 commit comments

Comments
 (0)