Skip to content

Commit 2df9fb4

Browse files
Update dependencies from https://github.com/dotnet/arcade build 20260411.1 (#3018)
On relative base path root Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.XUnitV3Extensions From Version 11.0.0-beta.26204.1 -> To Version 11.0.0-beta.26211.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
1 parent b7451f7 commit 2df9fb4

5 files changed

Lines changed: 21 additions & 13 deletions

File tree

‎eng/Version.Details.xml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26204.1">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26211.1">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>1f7eece09d5c6fc2a1319d04f6ae4b7d18455e2d</Sha>
8+
<Sha>a08169b890573cfd7f949ea9062c86a4db1aab1b</Sha>
99
</Dependency>
10-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="11.0.0-beta.26204.1">
10+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="11.0.0-beta.26211.1">
1111
<Uri>https://github.com/dotnet/arcade</Uri>
12-
<Sha>1f7eece09d5c6fc2a1319d04f6ae4b7d18455e2d</Sha>
12+
<Sha>a08169b890573cfd7f949ea9062c86a4db1aab1b</Sha>
1313
</Dependency>
14-
<Dependency Name="Microsoft.DotNet.XUnitV3Extensions" Version="11.0.0-beta.26204.1">
14+
<Dependency Name="Microsoft.DotNet.XUnitV3Extensions" Version="11.0.0-beta.26211.1">
1515
<Uri>https://github.com/dotnet/arcade</Uri>
16-
<Sha>1f7eece09d5c6fc2a1319d04f6ae4b7d18455e2d</Sha>
16+
<Sha>a08169b890573cfd7f949ea9062c86a4db1aab1b</Sha>
1717
</Dependency>
1818
</ToolsetDependencies>
1919
</Dependencies>

‎eng/Versions.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<SystemIOHashingVersion>8.0.0</SystemIOHashingVersion>
1616
<MicrosoftAspNetCoreTestHostVersion>6.0.36</MicrosoftAspNetCoreTestHostVersion>
1717
<MicrosoftCrankEventSourcesVersion>0.2.0-alpha.24576.2</MicrosoftCrankEventSourcesVersion>
18-
<MicrosoftDotNetXUnitV3ExtensionsPackageVersion>11.0.0-beta.26204.1</MicrosoftDotNetXUnitV3ExtensionsPackageVersion>
18+
<MicrosoftDotNetXUnitV3ExtensionsPackageVersion>11.0.0-beta.26211.1</MicrosoftDotNetXUnitV3ExtensionsPackageVersion>
1919
<CoverletCollectorVersion>6.0.0</CoverletCollectorVersion>
2020
<MoqVersion>4.18.4</MoqVersion>
2121
<AutofacVersion>4.9.4</AutofacVersion>

‎eng/common/tools.ps1‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,11 @@ function InitializeDotNetCli([bool]$install, [bool]$createSdkLocationFile) {
185185
if ((-not $globalJsonHasRuntimes) -and (-not [string]::IsNullOrEmpty($env:DOTNET_INSTALL_DIR)) -and (Test-Path(Join-Path $env:DOTNET_INSTALL_DIR "sdk\$dotnetSdkVersion"))) {
186186
$dotnetRoot = $env:DOTNET_INSTALL_DIR
187187
} else {
188-
$dotnetRoot = Join-Path $RepoRoot '.dotnet'
188+
if (-not [string]::IsNullOrEmpty($env:DOTNET_GLOBAL_INSTALL_DIR)) {
189+
$dotnetRoot = $env:DOTNET_GLOBAL_INSTALL_DIR
190+
} else {
191+
$dotnetRoot = Join-Path $RepoRoot '.dotnet'
192+
}
189193

190194
if (-not (Test-Path(Join-Path $dotnetRoot "sdk\$dotnetSdkVersion"))) {
191195
if ($install) {
@@ -773,7 +777,7 @@ function MSBuild-Core() {
773777
$cmdArgs += ' /p:TreatWarningsAsErrors=false'
774778
}
775779

776-
if ($warnNotAsError) {
780+
if ($warnAsError -and $warnNotAsError) {
777781
$cmdArgs += " /warnnotaserror:$warnNotAsError /p:AdditionalWarningsNotAsErrors=$warnNotAsError"
778782
}
779783

‎eng/common/tools.sh‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ function InitializeDotNetCli {
148148
if [[ $global_json_has_runtimes == false && -n "${DOTNET_INSTALL_DIR:-}" && -d "$DOTNET_INSTALL_DIR/sdk/$dotnet_sdk_version" ]]; then
149149
dotnet_root="$DOTNET_INSTALL_DIR"
150150
else
151-
dotnet_root="${repo_root}.dotnet"
151+
if [[ -n "${DOTNET_GLOBAL_INSTALL_DIR:-}" ]]; then
152+
dotnet_root="$DOTNET_GLOBAL_INSTALL_DIR"
153+
else
154+
dotnet_root="${repo_root}.dotnet"
155+
fi
152156

153157
export DOTNET_INSTALL_DIR="$dotnet_root"
154158

@@ -534,7 +538,7 @@ function MSBuild-Core {
534538
fi
535539

536540
local warnnotaserror_switch=""
537-
if [[ -n "$warn_not_as_error" ]]; then
541+
if [[ -n "$warn_not_as_error" && "$warn_as_error" == true ]]; then
538542
warnnotaserror_switch="/warnnotaserror:$warn_not_as_error /p:AdditionalWarningsNotAsErrors=$warn_not_as_error"
539543
fi
540544

‎global.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"runner": "Microsoft.Testing.Platform"
2020
},
2121
"msbuild-sdks": {
22-
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26204.1",
23-
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.26204.1"
22+
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26211.1",
23+
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.26211.1"
2424
}
2525
}

0 commit comments

Comments
 (0)