Skip to content

Commit 4f08ff1

Browse files
authored
[main] Source code updates from dotnet/dotnet (#49468)
2 parents af64d64 + fde285c commit 4f08ff1

File tree

12 files changed

+557
-357
lines changed

12 files changed

+557
-357
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<HostOSName Condition="'$(HostOSName)' == '' AND $([MSBuild]::IsOSPlatform('ILLUMOS'))">illumos</HostOSName>
2424
<HostOSName Condition="'$(HostOSName)' == '' AND '$(IsLinux)' == 'true'">linux</HostOSName>
2525

26+
<OSName Condition="'$(OSName)' == '' AND $(PortableTargetRid) != ''">$(PortableTargetRid.Substring(0, $(PortableTargetRid.LastIndexOf('-'))))</OSName>
2627
<OSName Condition="'$(OSName)' == '' AND $(TargetRid) != ''">$(TargetRid.Substring(0, $(TargetRid.LastIndexOf('-'))))</OSName>
2728
<OSName Condition="'$(OSName)' == ''">$(HostOSName)</OSName>
2829
</PropertyGroup>

eng/Version.Details.xml

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

eng/Versions.props

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ steps:
3030
${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}:
3131
azureSubscription: 'MicroBuild Signing Task (DevDiv)'
3232
useEsrpCli: true
33+
${{ elseif eq(variables['System.TeamProject'], 'DevDiv') }}:
34+
ConnectedPMEServiceName: 6cc74545-d7b9-4050-9dfa-ebefcc8961ea
35+
${{ else }}:
36+
ConnectedPMEServiceName: 248d384a-b39b-46e3-8ad5-c2c210d5e7ca
3337
env:
3438
TeamName: $(_TeamName)
3539
MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }}

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ steps:
3838
targetRidArgs='/p:TargetRid=${{ parameters.platform.targetRID }}'
3939
fi
4040
41-
baseRidArgs=
42-
if [ '${{ parameters.platform.baseRID }}' != '' ]; then
43-
baseRidArgs='/p:BaseRid=${{ parameters.platform.baseRID }}'
44-
fi
45-
4641
portableBuildArgs=
4742
if [ '${{ parameters.platform.portableBuild }}' != '' ]; then
4843
portableBuildArgs='/p:PortableBuild=${{ parameters.platform.portableBuild }}'
@@ -55,7 +50,6 @@ steps:
5550
${{ parameters.platform.buildArguments }} \
5651
$internalRuntimeDownloadArgs \
5752
$targetRidArgs \
58-
$baseRidArgs \
5953
$portableBuildArgs \
6054
displayName: Build
6155

eng/common/templates/vmr-build-pr.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# This pipeline is used for running the VMR verification of the PR changes in repo-level PRs.
2+
#
3+
# It will run a full set of verification jobs defined in:
4+
# https://github.com/dotnet/dotnet/blob/10060d128e3f470e77265f8490f5e4f72dae738e/eng/pipelines/templates/stages/vmr-build.yml#L27-L38
5+
#
6+
# For repos that do not need to run the full set, you would do the following:
7+
#
8+
# 1. Copy this YML file to a repo-specific location, i.e. outside of eng/common.
9+
#
10+
# 2. Add `verifications` parameter to VMR template reference
11+
#
12+
# Examples:
13+
# - For source-build stage 1 verification, add the following:
14+
# verifications: [ "source-build-stage1" ]
15+
#
16+
# - For Windows only verifications, add the following:
17+
# verifications: [ "unified-build-windows-x64", "unified-build-windows-x86" ]
18+
119
trigger: none
220
pr: none
321

global.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tools": {
3-
"dotnet": "10.0.100-preview.6.25302.104",
3+
"dotnet": "10.0.100-preview.6.25315.102",
44
"runtimes": {
55
"dotnet": [
66
"$(MicrosoftNETCorePlatformsPackageVersion)"
@@ -14,8 +14,8 @@
1414
}
1515
},
1616
"msbuild-sdks": {
17-
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25316.103",
18-
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25316.103",
17+
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25324.103",
18+
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25324.103",
1919
"Microsoft.Build.NoTargets": "3.7.0",
2020
"Microsoft.Build.Traversal": "3.4.0"
2121
}

src/Layout/Directory.Build.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
<TargetRid Condition="'$(TargetRid)' == ''">$(OSName)-$(TargetArchitecture)</TargetRid>
3434
<ProductMonikerRid>$(TargetRid)</ProductMonikerRid>
3535

36-
<PortableOSName Condition="'$(PortableOSName)' == ''">$(OSName)</PortableOSName>
37-
<PortableRid>$(PortableOSName)-$(TargetArchitecture)</PortableRid>
38-
<PortableProductMonikerRid>$(PortableRid)</PortableProductMonikerRid>
36+
<PortableTargetRid Condition="'$(PortableTargetRid)' == ''">$(OSName)-$(TargetArchitecture)</PortableTargetRid>
37+
<PortableProductMonikerRid>$(PortableTargetRid)</PortableProductMonikerRid>
3938
</PropertyGroup>
4039

4140
<PropertyGroup>

src/Layout/redist/targets/GenerateBundledVersions.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
win-x86;
399399
" />
400400

401-
<!-- ILCompiler target RIDs that are officially supported, plus the architecture we are building the product for (OutputRID). See:
401+
<!-- ILCompiler target RIDs that are officially supported, plus the architecture we are building the product for (TargetRid). See:
402402
https://github.com/dotnet/runtime/blob/main/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/ILCompilerRIDs.props -->
403403
<ILCompilerSupportedRids Include="
404404
@(Net90ILCompilerSupportedRids);

src/RazorSdk/Tool/TagHelperDescriptorJsonConverter.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,6 @@ private static void WriteBoundAttribute(JsonWriter writer, BoundAttributeDescrip
170170
{
171171
writer.WriteStartObject();
172172

173-
writer.WritePropertyName(nameof(BoundAttributeDescriptor.Kind));
174-
writer.WriteValue(boundAttribute.Kind);
175-
176173
writer.WritePropertyName(nameof(BoundAttributeDescriptor.Name));
177174
writer.WriteValue(boundAttribute.Name);
178175

0 commit comments

Comments
 (0)