Skip to content

Commit d5aa736

Browse files
[main] Source code updates from dotnet/dotnet (#64531)
[main] Source code updates from dotnet/dotnet
1 parent 4f2cbbb commit d5aa736

File tree

8 files changed

+319
-298
lines changed

8 files changed

+319
-298
lines changed

eng/Version.Details.props

Lines changed: 92 additions & 92 deletions
Large diffs are not rendered by default.

eng/Version.Details.xml

Lines changed: 185 additions & 185 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
<!--
22
33
This file defines the versions of external dependencies used by ASP.NET Core.
4-
This file might be updated by automation.
54
65
-->
76
<Project>
8-
<Import Project="Version.Details.props" Condition="Exists('Version.Details.props')" />
7+
8+
<Import Project="Version.Details.props" />
9+
910
<PropertyGroup Label="Version settings">
1011
<AspNetCoreMajorVersion>10</AspNetCoreMajorVersion>
1112
<AspNetCoreMinorVersion>0</AspNetCoreMinorVersion>
1213
<AspNetCorePatchVersion>0</AspNetCorePatchVersion>
1314
<PreReleaseVersionIteration>3</PreReleaseVersionIteration>
1415
<IdentityModelVersion Condition="'$(IsIdentityModelTestJob)' != 'true'">8.0.1</IdentityModelVersion>
1516
<IdentityModelVersion Condition="'$(IsIdentityModelTestJob)' == 'true'">*-*</IdentityModelVersion>
16-
<!--
17-
When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages
18-
-->
19-
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
20-
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
2117
<PreReleaseVersionLabel>rc</PreReleaseVersionLabel>
18+
<!-- Allowed values: '', 'prerelease', 'release'. Set to 'release' when stabilizing. -->
19+
<DotNetFinalVersionKind></DotNetFinalVersionKind>
20+
2221
<!-- PreReleaseBrandingLabel is automatically calculated based on PreReleaseVersionLabel -->
2322
<PreReleaseBrandingLabel Condition="'$(PreReleaseVersionLabel)' == 'alpha'">Alpha $(PreReleaseVersionIteration)</PreReleaseBrandingLabel>
2423
<PreReleaseBrandingLabel Condition="'$(PreReleaseVersionLabel)' == 'preview'">Preview $(PreReleaseVersionIteration)</PreReleaseBrandingLabel>
@@ -54,12 +53,14 @@
5453
new features specific to OOB -->
5554
<CurrentLtsTargetFramework>net10.0</CurrentLtsTargetFramework>
5655
</PropertyGroup>
56+
5757
<PropertyGroup Label="Arcade settings">
5858
<!-- Opt-in to Arcade tools for building VSIX projects. -->
5959
<UsingToolVSSDK>true</UsingToolVSSDK>
6060
<!-- Disable XLIFF tasks -->
6161
<UsingToolXliff>false</UsingToolXliff>
6262
</PropertyGroup>
63+
6364
<!--
6465
Versions below this comment are not managed by automation and can be changed as needed.
6566
-->
@@ -195,4 +196,5 @@
195196
<DotnetServeVersion>1.10.93</DotnetServeVersion>
196197
<MicrosoftPlaywrightCLIVersion>1.2.3</MicrosoftPlaywrightCLIVersion>
197198
</PropertyGroup>
199+
198200
</Project>

eng/common/core-templates/job/source-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
demands: ImageOverride -equals build.ubuntu.2204.amd64
6464
${{ if eq(variables['System.TeamProject'], 'internal') }}:
6565
name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]
66-
image: 1es-mariner-2
66+
image: 1es-azurelinux-3
6767
os: linux
6868
${{ else }}:
6969
pool:

eng/common/core-templates/steps/install-microbuild.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ parameters:
1313
# Unfortunately, _SignType can't be used to exclude the use of the service connection in non-real sign scenarios. The
1414
# variable is not available in template expression. _SignType has a very large proliferation across .NET, so replacing it is tough.
1515
microbuildUseESRP: true
16-
# Location of the MicroBuild output folder
17-
# NOTE: There's something that relies on this being in the "default" source directory for tasks such as Signing to work properly.
18-
microBuildOutputFolder: '$(Build.SourcesDirectory)'
16+
# Microbuild installation directory
17+
microBuildOutputFolder: $(Agent.TempDirectory)/MicroBuild
1918
# Microbuild version
2019
microbuildPluginVersion: 'latest'
2120

@@ -30,8 +29,27 @@ steps:
3029
inputs:
3130
packageType: sdk
3231
version: 8.0.x
33-
installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet
34-
workingDirectory: ${{ parameters.microBuildOutputFolder }}
32+
installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet-microbuild
33+
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
34+
35+
- script: |
36+
set -euo pipefail
37+
38+
# UseDotNet@2 prepends the dotnet executable path to the PATH variable, so we can call dotnet directly
39+
version=$(dotnet --version)
40+
cat << 'EOF' > ${{ parameters.microBuildOutputFolder }}/global.json
41+
{
42+
"sdk": {
43+
"version": "$version",
44+
"paths": [
45+
"${{ parameters.microBuildOutputFolder }}/.dotnet-microbuild"
46+
],
47+
"errorMessage": "The .NET SDK version $version is required to install the MicroBuild signing plugin."
48+
}
49+
}
50+
EOF
51+
displayName: 'Add global.json to MicroBuild Installation path'
52+
workingDirectory: ${{ parameters.microBuildOutputFolder }}
3553
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))
3654
3755
- script: |
@@ -85,6 +103,7 @@ steps:
85103
zipSources: false
86104
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
87105
version: ${{ parameters.microbuildPluginVersion }}
106+
workingDirectory: ${{ parameters.microBuildOutputFolder }}
88107
${{ if eq(parameters.microbuildUseESRP, true) }}:
89108
ConnectedServiceName: 'MicroBuild Signing Task (DevDiv)'
90109
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:

eng/common/sdk-task.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ try {
7070
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty
7171
}
7272
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) {
73-
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.14.16" -MemberType NoteProperty
73+
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "18.0.0" -MemberType NoteProperty
7474
}
7575
if ($GlobalJson.tools."xcopy-msbuild".Trim() -ine "none") {
7676
$xcopyMSBuildToolsFolder = InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true

eng/common/tools.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ function InitializeVisualStudioMSBuild([bool]$install, [object]$vsRequirements =
394394

395395
# If the version of msbuild is going to be xcopied,
396396
# use this version. Version matches a package here:
397-
# https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-eng/NuGet/Microsoft.DotNet.Arcade.MSBuild.Xcopy/versions/17.14.16
398-
$defaultXCopyMSBuildVersion = '17.14.16'
397+
# https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-eng/NuGet/Microsoft.DotNet.Arcade.MSBuild.Xcopy/versions/18.0.0
398+
$defaultXCopyMSBuildVersion = '18.0.0'
399399

400400
if (!$vsRequirements) {
401401
if (Get-Member -InputObject $GlobalJson.tools -Name 'vs') {

global.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"sdk": {
3-
"version": "10.0.100-rc.2.25502.107",
3+
"version": "10.0.100",
44
"paths": [
55
".dotnet",
66
"$host$"
77
],
88
"errorMessage": "The .NET SDK could not be found, run ./restore.cmd or ./restore.sh first."
99
},
1010
"tools": {
11-
"dotnet": "10.0.100-rc.2.25502.107",
11+
"dotnet": "10.0.100",
1212
"runtimes": {
1313
"dotnet/x86": [
1414
"$(MicrosoftInternalRuntimeAspNetCoreTransportVersion)"
@@ -32,9 +32,9 @@
3232
"jdk": "latest"
3333
},
3434
"msbuild-sdks": {
35-
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.25570.101",
36-
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.25570.101",
37-
"Microsoft.DotNet.SharedFramework.Sdk": "11.0.0-beta.25570.101",
35+
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.25575.110",
36+
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.25575.110",
37+
"Microsoft.DotNet.SharedFramework.Sdk": "11.0.0-beta.25575.110",
3838
"Microsoft.Build.NoTargets": "3.7.0",
3939
"Microsoft.Build.Traversal": "3.4.0",
4040
"Microsoft.WixToolset.Sdk": "5.0.2-dotnet.2811440"

0 commit comments

Comments
 (0)