File tree Expand file tree Collapse file tree 17 files changed +347
-327
lines changed
Framework/App.Runtime/src Expand file tree Collapse file tree 17 files changed +347
-327
lines changed Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
sourceIndexUploadPackageVersion : 2.0.0-20250425.2
3
- sourceIndexProcessBinlogPackageVersion : 1.0.1-20250425.2
3
+ sourceIndexProcessBinlogPackageVersion : 1.0.1-20250515.1
4
4
sourceIndexPackageSource : https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
5
5
binlogPath : artifacts/log/Debug/Build.binlog
6
6
7
7
steps :
8
8
- task : UseDotNet@2
9
- displayName : " Source Index: Use .NET 8 SDK"
9
+ displayName : " Source Index: Use .NET 9 SDK"
10
10
inputs :
11
11
packageType : sdk
12
- version : 8 .0.x
12
+ version : 9 .0.x
13
13
installationPath : $(Agent.TempDirectory)/dotnet
14
14
workingDirectory : $(Agent.TempDirectory)
15
15
Original file line number Diff line number Diff line change @@ -295,8 +295,8 @@ while :; do
295
295
;;
296
296
noble) # Ubuntu 24.04
297
297
__CodeName=noble
298
- if [[ -n " $__LLDB_Package " ]]; then
299
- __LLDB_Package=" liblldb-18 -dev"
298
+ if [[ -z " $__LLDB_Package " ]]; then
299
+ __LLDB_Package=" liblldb-19 -dev"
300
300
fi
301
301
;;
302
302
stretch) # Debian 9
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ :: This script is used to install the .NET SDK.
4
+ :: It will also invoke the SDK with any provided arguments.
5
+
6
+ powershell -ExecutionPolicy ByPass -NoProfile -command " & " " " %~dp0 dotnet.ps1" " " %* "
7
+ exit /b %ErrorLevel%
Original file line number Diff line number Diff line change
1
+ # This script is used to install the .NET SDK.
2
+ # It will also invoke the SDK with any provided arguments.
3
+
4
+ . $PSScriptRoot \tools.ps1
5
+ $dotnetRoot = InitializeDotNetCli - install:$true
6
+
7
+ # Invoke acquired SDK with args if they are provided
8
+ if ($args.count -gt 0 ) {
9
+ $env: DOTNET_NOLOGO = 1
10
+ & " $dotnetRoot \dotnet.exe" $args
11
+ }
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # This script is used to install the .NET SDK.
4
+ # It will also invoke the SDK with any provided arguments.
5
+
6
+ source=" ${BASH_SOURCE[0]} "
7
+ # resolve $SOURCE until the file is no longer a symlink
8
+ while [[ -h $source ]]; do
9
+ scriptroot=" $( cd -P " $( dirname " $source " ) " && pwd ) "
10
+ source=" $( readlink " $source " ) "
11
+
12
+ # if $source was a relative symlink, we need to resolve it relative to the path where the
13
+ # symlink file was located
14
+ [[ $source != /* ]] && source=" $scriptroot /$source "
15
+ done
16
+ scriptroot=" $( cd -P " $( dirname " $source " ) " && pwd ) "
17
+
18
+ source $scriptroot /tools.sh
19
+ InitializeDotNetCli true # install
20
+
21
+ # Invoke acquired SDK with args if they are provided
22
+ if [[ $# > 0 ]]; then
23
+ __dotnetDir=${_InitializeDotNetCli}
24
+ dotnetPath=${__dotnetDir} /dotnet
25
+ ${dotnetPath} " $@ "
26
+ fi
Original file line number Diff line number Diff line change 1
1
trigger : none
2
- pr :
3
- branches :
4
- include :
5
- - main
6
- - release/*
7
- paths :
8
- exclude :
9
- - documentation/*
10
- - README.md
11
- - CODEOWNERS
2
+ pr : none
12
3
13
4
variables :
14
5
- template : /eng/common/templates/variables/pool-providers.yml@self
Original file line number Diff line number Diff line change @@ -765,28 +765,13 @@ function MSBuild() {
765
765
766
766
$toolsetBuildProject = InitializeToolset
767
767
$basePath = Split-Path - parent $toolsetBuildProject
768
- $possiblePaths = @ (
769
- # new scripts need to work with old packages, so we need to look for the old names/versions
770
- (Join-Path $basePath (Join-Path $buildTool.Framework ' Microsoft.DotNet.ArcadeLogging.dll' )),
771
- (Join-Path $basePath (Join-Path $buildTool.Framework ' Microsoft.DotNet.Arcade.Sdk.dll' )),
772
-
773
- # This list doesn't need to be updated anymore and can eventually be removed.
774
- (Join-Path $basePath (Join-Path net9.0 ' Microsoft.DotNet.ArcadeLogging.dll' )),
775
- (Join-Path $basePath (Join-Path net9.0 ' Microsoft.DotNet.Arcade.Sdk.dll' )),
776
- (Join-Path $basePath (Join-Path net8.0 ' Microsoft.DotNet.ArcadeLogging.dll' )),
777
- (Join-Path $basePath (Join-Path net8.0 ' Microsoft.DotNet.Arcade.Sdk.dll' ))
778
- )
779
- $selectedPath = $null
780
- foreach ($path in $possiblePaths ) {
781
- if (Test-Path $path - PathType Leaf) {
782
- $selectedPath = $path
783
- break
784
- }
785
- }
768
+ $selectedPath = Join-Path $basePath (Join-Path $buildTool.Framework ' Microsoft.DotNet.ArcadeLogging.dll' )
769
+
786
770
if (-not $selectedPath ) {
787
- Write-PipelineTelemetryError - Category ' Build' - Message ' Unable to find arcade sdk logger assembly. '
771
+ Write-PipelineTelemetryError - Category ' Build' - Message " Unable to find arcade sdk logger assembly: $selectedPath "
788
772
ExitWithExitCode 1
789
773
}
774
+
790
775
$args += " /logger:$selectedPath "
791
776
}
792
777
Original file line number Diff line number Diff line change @@ -447,27 +447,13 @@ function MSBuild {
447
447
fi
448
448
449
449
local toolset_dir=" ${_InitializeToolset%/* } "
450
- # new scripts need to work with old packages, so we need to look for the old names/versions
451
- local selectedPath=
452
- local possiblePaths=()
453
- possiblePaths+=( " $toolset_dir /net/Microsoft.DotNet.ArcadeLogging.dll" )
454
- possiblePaths+=( " $toolset_dir /net/Microsoft.DotNet.Arcade.Sdk.dll" )
455
-
456
- # This list doesn't need to be updated anymore and can eventually be removed.
457
- possiblePaths+=( " $toolset_dir /net9.0/Microsoft.DotNet.ArcadeLogging.dll" )
458
- possiblePaths+=( " $toolset_dir /net9.0/Microsoft.DotNet.Arcade.Sdk.dll" )
459
- possiblePaths+=( " $toolset_dir /net8.0/Microsoft.DotNet.ArcadeLogging.dll" )
460
- possiblePaths+=( " $toolset_dir /net8.0/Microsoft.DotNet.Arcade.Sdk.dll" )
461
- for path in " ${possiblePaths[@]} " ; do
462
- if [[ -f $path ]]; then
463
- selectedPath=$path
464
- break
465
- fi
466
- done
450
+ local selectedPath=" $toolset_dir /net/Microsoft.DotNet.ArcadeLogging.dll"
451
+
467
452
if [[ -z " $selectedPath " ]]; then
468
- Write-PipelineTelemetryError -category ' Build' " Unable to find arcade sdk logger assembly. "
453
+ Write-PipelineTelemetryError -category ' Build' " Unable to find arcade sdk logger assembly: $selectedPath "
469
454
ExitWithExitCode 1
470
455
fi
456
+
471
457
args+=( " -logger:$selectedPath " )
472
458
fi
473
459
Original file line number Diff line number Diff line change 69
69
<LatestRuntimeFrameworkVersion
70
70
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</LatestRuntimeFrameworkVersion>
71
71
<TargetingPackVersion
72
- Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</TargetingPackVersion>
72
+ Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' and '$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRefVersion}</TargetingPackVersion>
73
73
<!--
74
74
Change the default shared framework version only when _not_ servicing. Avoid bumping version used in most
75
75
projects. When servicing, projects (Microsoft.AspNetCore.App.Runtime in particular) can use
Original file line number Diff line number Diff line change 27
27
"jdk" : " latest"
28
28
},
29
29
"msbuild-sdks" : {
30
- "Microsoft.DotNet.Arcade.Sdk" : " 10.0.0-beta.25311.102 " ,
31
- "Microsoft.DotNet.Helix.Sdk" : " 10.0.0-beta.25311.102 " ,
32
- "Microsoft.DotNet.SharedFramework.Sdk" : " 10.0.0-beta.25311.102 " ,
30
+ "Microsoft.DotNet.Arcade.Sdk" : " 10.0.0-beta.25314.101 " ,
31
+ "Microsoft.DotNet.Helix.Sdk" : " 10.0.0-beta.25314.101 " ,
32
+ "Microsoft.DotNet.SharedFramework.Sdk" : " 10.0.0-beta.25314.101 " ,
33
33
"Microsoft.Build.NoTargets" : " 3.7.0" ,
34
34
"Microsoft.Build.Traversal" : " 3.4.0"
35
35
}
Original file line number Diff line number Diff line change 24
24
<!-- HACK: We aren't self-contained but we need to say we are so the SDK lets us do composite R2R -->
25
25
<SelfContained>true</SelfContained>
26
26
27
- <InstructionSetSupport Condition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'x86'">+x86-x64 -v3</InstructionSetSupport>
27
+ <InstructionSetSupport Condition="'$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'x86'">+x86-64 -v3</InstructionSetSupport>
28
28
<PublishReadyToRunCrossgen2ExtraArgs Condition="'$(InstructionSetSupport)' != ''">$(PublishReadyToRunCrossgen2ExtraArgs);--instruction-set:$(InstructionSetSupport)</PublishReadyToRunCrossgen2ExtraArgs>
29
29
30
30
<!-- Setting this suppresses getting documentation .xml files in the shared runtime output. -->
Original file line number Diff line number Diff line change 27
27
<PropertyGroup >
28
28
<!-- Use the BrowserDebugHost as a sentinel for the nonshipping version for .NETCoreApp -->
29
29
<DotNetRuntimeArchiveFileName >dotnet-runtime-$(MicrosoftNETCoreAppRefVersion)-$(TargetRuntimeIdentifier).$(ArchiveFormat)</DotNetRuntimeArchiveFileName >
30
- <DotNetRuntimeArchiveFileName Condition =" '$(PgoInstrument)' == 'true'" >dotnet-runtime-pgo-$(MicrosoftNETCoreAppRefVersion)-$(TargetRuntimeIdentifier)$(ArchiveExtension)</DotNetRuntimeArchiveFileName >
31
30
<DotNetRuntimeDownloadPath >Runtime/$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)/$(DotNetRuntimeArchiveFileName)</DotNetRuntimeDownloadPath >
32
31
<DotNetRuntimeArchive >$(BaseIntermediateOutputPath)$(DotNetRuntimeArchiveFileName)</DotNetRuntimeArchive >
33
32
</PropertyGroup >
Original file line number Diff line number Diff line change 30
30
<PropertyGroup >
31
31
<!-- Use the Microsoft.Internal.Runtime.AspNetCore.Transport package as a sentinel for the nonshipping version for .NETCoreApp -->
32
32
<DotNetRuntimeArchiveFileName >dotnet-runtime-$(MicrosoftNETCoreAppRefVersion)-$(TargetRuntimeIdentifier).$(ArchiveFormat)</DotNetRuntimeArchiveFileName >
33
- <DotNetRuntimeArchiveFileName Condition =" '$(PgoInstrument)' == 'true'" >dotnet-runtime-pgo-$(MicrosoftNETCoreAppRefVersion)-$(TargetRuntimeIdentifier)$(ArchiveExtension)</DotNetRuntimeArchiveFileName >
34
33
<DotNetRuntimeDownloadPath >Runtime/$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)/$(DotNetRuntimeArchiveFileName)</DotNetRuntimeDownloadPath >
35
34
<DotNetRuntimeArchive >$(BaseIntermediateOutputPath)$(DotNetRuntimeArchiveFileName)</DotNetRuntimeArchive >
36
35
</PropertyGroup >
Original file line number Diff line number Diff line change @@ -200,6 +200,10 @@ internal static SslServerAuthenticationOptions CloneSslOptions(SslServerAuthenti
200
200
ServerCertificateSelectionCallback = sslOptions . ServerCertificateSelectionCallback ,
201
201
CertificateChainPolicy = sslOptions . CertificateChainPolicy ,
202
202
AllowTlsResume = sslOptions . AllowTlsResume ,
203
+ #pragma warning disable CA1416 // Ignore SupportedOSPlatform checks, we're just copying the value
204
+ AllowRsaPssPadding = sslOptions . AllowRsaPssPadding ,
205
+ AllowRsaPkcs1Padding = sslOptions . AllowRsaPkcs1Padding ,
206
+ #pragma warning restore CA1416
203
207
} ;
204
208
205
209
private sealed class SniOptions
Original file line number Diff line number Diff line change @@ -858,6 +858,12 @@ public void CloneSslOptionsClonesAllProperties()
858
858
CertificateChainPolicy = new X509ChainPolicy ( ) ,
859
859
// Defaults to true
860
860
AllowTlsResume = false ,
861
+ #pragma warning disable CA1416
862
+ // Defaults to true
863
+ AllowRsaPssPadding = false ,
864
+ // Defaults to true
865
+ AllowRsaPkcs1Padding = false ,
866
+ #pragma warning restore CA1416
861
867
} ;
862
868
863
869
var clonedOptions = SniOptionsSelector . CloneSslOptions ( options ) ;
@@ -906,6 +912,12 @@ public void CloneSslOptionsClonesAllProperties()
906
912
Assert . Equal ( options . AllowTlsResume , clonedOptions . AllowTlsResume ) ;
907
913
Assert . True ( propertyNames . Remove ( nameof ( options . AllowTlsResume ) ) ) ;
908
914
915
+ Assert . Equal ( options . AllowRsaPssPadding , clonedOptions . AllowRsaPssPadding ) ;
916
+ Assert . True ( propertyNames . Remove ( nameof ( options . AllowRsaPssPadding ) ) ) ;
917
+
918
+ Assert . Equal ( options . AllowRsaPkcs1Padding , clonedOptions . AllowRsaPkcs1Padding ) ;
919
+ Assert . True ( propertyNames . Remove ( nameof ( options . AllowRsaPkcs1Padding ) ) ) ;
920
+
909
921
// Ensure we've checked every property. When new properties get added, we'll have to update this test along with the CloneSslOptions implementation.
910
922
Assert . Empty ( propertyNames ) ;
911
923
}
You can’t perform that action at this time.
0 commit comments