Skip to content

Commit ffec224

Browse files
[master] Update dependencies from dotnet/arcade (#1180)
* Update dependencies from https://github.com/dotnet/arcade build 20200506.5 - Microsoft.DotNet.ApiCompat: 5.0.0-beta.20228.4 -> 5.0.0-beta.20256.5 - Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20228.4 -> 5.0.0-beta.20256.5 * Add restore to lint.sh/cmd * Remove lint restore from azure-pipelines.yml * Make sure the Lint step fails on violations * Disable https listening in WebApiTest.cs It doesn't play nice with CI environments. * Disable WebApi test on CI on macOS Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Alexander Köplinger <[email protected]>
1 parent 424d147 commit ffec224

File tree

12 files changed

+28
-23
lines changed

12 files changed

+28
-23
lines changed

eng/Version.Details.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20228.4">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20256.5">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>590a102630c7efc7ca6f652f7c6c47dee4c4086c</Sha>
8+
<Sha>8547938aefa24475a04877285553f0b2663ae249</Sha>
99
</Dependency>
10-
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="5.0.0-beta.20228.4">
10+
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="5.0.0-beta.20256.5">
1111
<Uri>https://github.com/dotnet/arcade</Uri>
12-
<Sha>590a102630c7efc7ca6f652f7c6c47dee4c4086c</Sha>
12+
<Sha>8547938aefa24475a04877285553f0b2663ae249</Sha>
1313
</Dependency>
1414
<Dependency Name="Microsoft.NET.Sdk.IL" Version="5.0.0-preview.5.20260.5">
1515
<Uri>https://github.com/dotnet/runtime</Uri>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<SystemReflectionMetadataVersion>1.5.0</SystemReflectionMetadataVersion>
2121
<MicrosoftBuildFrameworkVersion>15.4.8</MicrosoftBuildFrameworkVersion>
2222
<MicrosoftBuildUtilitiesCoreVersion>15.4.8</MicrosoftBuildUtilitiesCoreVersion>
23-
<MicrosoftDotNetApiCompatVersion>5.0.0-beta.20228.4</MicrosoftDotNetApiCompatVersion>
23+
<MicrosoftDotNetApiCompatVersion>5.0.0-beta.20256.5</MicrosoftDotNetApiCompatVersion>
2424
<!-- We depend on (and redistribute) the official Mono.Cecil NuGet package built from https://github.com/jbevain/cecil -->
2525
<MonoCecilVersion>0.11.2</MonoCecilVersion>
2626
</PropertyGroup>

eng/azure-pipelines.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,7 @@ stages:
126126
steps:
127127
- checkout: self
128128
submodules: true
129-
- task: DotNetCoreCLI@2
130-
displayName: 'Restore dotnet tools'
131-
inputs:
132-
command: 'custom'
133-
custom: 'tool'
134-
arguments: 'restore'
135-
- script: ./lint.sh --dry-run
129+
- script: ./lint.sh --dry-run --check
136130

137131
- ${{ if eq(variables.officialBuild, 'false') }}:
138132
- job: Linux_Mono

eng/common/internal/Tools.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PropertyGroup>
55
<TargetFramework>net472</TargetFramework>
66
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
7+
<AutomaticallyUseReferenceAssemblyPackages>false</AutomaticallyUseReferenceAssemblyPackages>
78
</PropertyGroup>
89
<ItemGroup>
910
<!-- Clear references, the SDK may add some depending on UsuingToolXxx settings, but we only want to restore the following -->

eng/common/performance/performance-setup.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Param(
33
[string] $CoreRootDirectory,
44
[string] $BaselineCoreRootDirectory,
55
[string] $Architecture="x64",
6-
[string] $Framework="netcoreapp5.0",
6+
[string] $Framework="net5.0",
77
[string] $CompilationMode="Tiered",
88
[string] $Repository=$env:BUILD_REPOSITORY_NAME,
99
[string] $Branch=$env:BUILD_SOURCEBRANCH,
@@ -31,7 +31,8 @@ $HelixSourcePrefix = "pr"
3131

3232
$Queue = "Windows.10.Amd64.ClientRS4.DevEx.15.8.Open"
3333

34-
if ($Framework.StartsWith("netcoreapp")) {
34+
# TODO: Implement a better logic to determine if Framework is .NET Core or >= .NET 5.
35+
if ($Framework.StartsWith("netcoreapp") -or ($Framework -eq "net5.0")) {
3536
$Queue = "Windows.10.Amd64.ClientRS5.Open"
3637
}
3738

eng/common/performance/performance-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source_directory=$BUILD_SOURCESDIRECTORY
44
core_root_directory=
55
baseline_core_root_directory=
66
architecture=x64
7-
framework=netcoreapp5.0
7+
framework=net5.0
88
compilation_mode=tiered
99
repository=$BUILD_REPOSITORY_NAME
1010
branch=$BUILD_SOURCEBRANCH

eng/common/sdk-task.ps1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,15 @@ try {
5959

6060
if( $msbuildEngine -eq "vs") {
6161
# Ensure desktop MSBuild is available for sdk tasks.
62-
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "vs" )) {
63-
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.4`" }") -MemberType NoteProperty
62+
if( -not ($GlobalJson.tools.PSObject.Properties.Name -contains "vs" )) {
63+
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty
6464
}
6565
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) {
66-
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "16.4.0-alpha" -MemberType NoteProperty
66+
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "16.5.0-alpha" -MemberType NoteProperty
6767
}
6868

69-
InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true
69+
$xcopyMSBuildToolsFolder = InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true
70+
$global:_MSBuildExe = "$($xcopyMSBuildToolsFolder)\MSBuild\Current\Bin\MSBuild.exe"
7071
}
7172

7273
$taskProject = GetSdkTaskProject $task

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"tools": {
3-
"dotnet": "3.1.101",
3+
"dotnet": "5.0.100-preview.5.20251.2",
44
"runtimes": {
55
"dotnet": [
66
"3.0.0"
77
]
88
}
99
},
1010
"msbuild-sdks": {
11-
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20221.14",
11+
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20256.5",
1212
"Microsoft.NET.Sdk.IL": "5.0.0-preview.5.20260.5"
1313
}
1414
}

lint.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
2+
powershell -ExecutionPolicy ByPass -NoProfile -command "Set-Location %~dp0; & """%~dp0eng\dotnet.ps1""" ""tool restore"""
23
powershell -ExecutionPolicy ByPass -NoProfile -command "Set-Location %~dp0; & """%~dp0eng\dotnet.ps1""" ""tool run dotnet-format --verbosity diagnostic -f . --exclude src/analyzer,src/tuner,external %*"""

lint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ while [[ -h $source ]]; do
1313
done
1414

1515
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
16+
"$scriptroot/eng/dotnet.sh" tool restore
1617
"$scriptroot/eng/dotnet.sh" tool run dotnet-format --verbosity diagnostic -f . --exclude src/analyzer,src/tuner,external $@

0 commit comments

Comments
 (0)