Skip to content

[release/10.0.2xx] Source code updates from dotnet/dotnet#53555

Merged
nagilson merged 7 commits intorelease/10.0.2xxfrom
darc-release/10.0.2xx-afb95f6a-80c4-4edb-9213-c8d71d9a6dc5
Mar 25, 2026
Merged

[release/10.0.2xx] Source code updates from dotnet/dotnet#53555
nagilson merged 7 commits intorelease/10.0.2xxfrom
darc-release/10.0.2xx-afb95f6a-80c4-4edb-9213-c8d71d9a6dc5

Conversation

@dotnet-maestro
Copy link
Copy Markdown
Contributor

Note

This is a codeflow update. It may contain both source code changes from
the VMR
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/dotnet

Updated Dependencies

  • From 10.0.0-preview.26165.110 to 10.0.0-preview.26170.111
    • Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal
    • Microsoft.CodeAnalysis.Razor.Tooling.Internal
    • Microsoft.NET.Sdk.Razor.SourceGenerators.Transport
  • From 18.3.3 to 18.3.3
    • Microsoft.Build
  • From 18.3.3-servicing-26165-110 to 18.3.3-servicing-26170-111
    • Microsoft.Build.Localization
  • From 7.3.0-rc.16610 to 7.3.0-rc.17111
    • Microsoft.Build.NuGetSdkResolver
    • NuGet.Build.Tasks
    • NuGet.Build.Tasks.Console
    • NuGet.Build.Tasks.Pack
    • NuGet.CommandLine.XPlat
    • NuGet.Commands
    • NuGet.Common
    • NuGet.Configuration
    • NuGet.Credentials
    • NuGet.DependencyResolver.Core
    • NuGet.Frameworks
    • NuGet.LibraryModel
    • NuGet.Localization
    • NuGet.Packaging
    • NuGet.ProjectModel
    • NuGet.Protocol
    • NuGet.Versioning
  • From 10.0.202 to 10.0.202
    • Microsoft.Build.Tasks.Git
    • Microsoft.SourceLink.AzureRepos.Git
    • Microsoft.SourceLink.Bitbucket.Git
    • Microsoft.SourceLink.Common
    • Microsoft.SourceLink.GitHub
    • Microsoft.SourceLink.GitLab
    • Microsoft.TemplateEngine.Abstractions
    • Microsoft.TemplateEngine.Authoring.TemplateVerifier
    • Microsoft.TemplateEngine.Edge
    • Microsoft.TemplateEngine.Orchestrator.RunnableProjects
    • Microsoft.TemplateEngine.Utils
    • Microsoft.TemplateSearch.Common
  • From 5.3.0-2.26165.110 to 5.3.0-2.26170.111
    • Microsoft.CodeAnalysis
    • Microsoft.CodeAnalysis.BuildClient
    • Microsoft.CodeAnalysis.CSharp
    • Microsoft.CodeAnalysis.CSharp.CodeStyle
    • Microsoft.CodeAnalysis.CSharp.Features
    • Microsoft.CodeAnalysis.CSharp.Workspaces
    • Microsoft.CodeAnalysis.ExternalAccess.HotReload
    • Microsoft.CodeAnalysis.PublicApiAnalyzers
    • Microsoft.CodeAnalysis.Workspaces.Common
    • Microsoft.CodeAnalysis.Workspaces.MSBuild
    • Microsoft.Net.Compilers.Toolset
    • Microsoft.Net.Compilers.Toolset.Framework
  • From 10.0.0-beta.26165.110 to 10.0.0-beta.26170.111
    • Microsoft.DotNet.Arcade.Sdk
    • Microsoft.DotNet.Build.Tasks.Installers
    • Microsoft.DotNet.Build.Tasks.Templating
    • Microsoft.DotNet.Build.Tasks.Workloads
    • Microsoft.DotNet.Helix.Sdk
    • Microsoft.DotNet.SignTool
    • Microsoft.DotNet.XliffTasks
    • Microsoft.DotNet.XUnitExtensions
  • From 15.2.202-servicing.26165.110 to 15.2.202-servicing.26170.111
    • Microsoft.FSharp.Compiler
  • From 18.3.0-release-26165-110 to 18.3.0-release-26170-111
    • Microsoft.NET.Test.Sdk
    • Microsoft.TestPlatform.Build
    • Microsoft.TestPlatform.CLI
  • From 10.0.202-servicing.26165.110 to 10.0.202-servicing.26170.111
    • Microsoft.TemplateEngine.Mocks
    • Microsoft.TemplateEngine.TestHelper
    • Microsoft.TemplateSearch.TemplateDiscovery

Associated changes in source repos

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/dotnet:115461302edc70fe6e7c8ba73d0b40d328add55c..https://github.com/dotnet/sdk:darc-release/10.0.2xx-afb95f6a-80c4-4edb-9213-c8d71d9a6dc5

Updated Dependencies:
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26165.110 -> 10.0.0-preview.26170.111)
Microsoft.Build (Version 18.3.3 -> 18.3.3)
Microsoft.Build.Localization (Version 18.3.3-servicing-26165-110 -> 18.3.3-servicing-26170-111)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Localization, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.3.0-rc.16610 -> 7.3.0-rc.17111)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab, Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common (Version 10.0.202 -> 10.0.202)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.ExternalAccess.HotReload, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.3.0-2.26165.110 -> 5.3.0-2.26170.111)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions (Version 10.0.0-beta.26165.110 -> 10.0.0-beta.26170.111)
Microsoft.FSharp.Compiler (Version 15.2.202-servicing.26165.110 -> 15.2.202-servicing.26170.111)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.3.0-release-26165-110 -> 18.3.0-release-26170-111)
Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.202-servicing.26165.110 -> 10.0.202-servicing.26170.111)
[[ commit created by automation ]]
@DonnaChen888
Copy link
Copy Markdown
Contributor

@dsplaisted could you please help take a look at this issue?
Failed to load /private/tmp/helix/working/B37609F2/p/d/shared/Microsoft.NETCore.App/10.0.5/libhostpolicy.dylib, error: dlopen(/private/tmp/helix/working/B37609F2/p/d/shared/Microsoft.NETCore.App/10.0.5/libhostpolicy.dylib, 0x0001): tried: '/private/tmp/helix/working/B37609F2/p/d/shared/Microsoft.NETCore.App/10.0.5/libhostpolicy.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/private/tmp/helix/working/B37609F2/p/d/shared/Microsoft.NETCore.App/10.0.5/libhostpolicy.dylib' (no such file), '/private/tmp/helix/working/B37609F2/p/d/shared/Microsoft.NETCore.App/10.0.5/libhostpolicy.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

@nagilson
Copy link
Copy Markdown
Member

My best guess right now is we shipped the x64 dll library file instead of the arm64 one on mac os for the 10.0.5 runtime. A lot of tests failed. I'm going to see if that got fixed already by rerunning.

…ture files may get consumed as we auto default to x64
@nagilson nagilson requested a review from a team as a code owner March 23, 2026 21:40
@DonnaChen888
Copy link
Copy Markdown
Contributor

@nagilson Could you help take a look at this issue?

I’m seeing the following error in OverlaySdkOnLKG.targets:

src/Layout/redist/targets/OverlaySdkOnLKG.targets(54,11): error MSB4043: (NETCORE_ENGINEERING_TELEMETRY=Build) The item metadata reference "%(_Stage0NETCoreSharedFxDir.Identity)" is invalid because it is qualified with an item name. Item metadata referenced in transforms do not need to be qualified, because the item name is automatically deduced from the items being transformed. Change "%(_Stage0NETCoreSharedFxDir.Identity)" to "%(Identity)".

When I tried updating line 54 from %(_Stage0NETCoreSharedFxDir.Identity) to %(Identity) as suggested, the build then fails with MSB3026 on Linux arm64, for example:

src/Layout/redist/targets/OverlaySdkOnLKG.targets(52,5): error MSB3026: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not copy "/mnt/vss/_work/1/s/artifacts/bin/redist/Release/dotnet/shared/Microsoft.NETCore.App/10.0.4/libclrgcexp.so" to "/mnt/vss/_work/1/s/artifacts/bin/redist/Release/dotnet/shared/Microsoft.NETCore.App/10.0.4/libclrgcexp.so/libclrgcexp.so". Beginning retry 1 in 1000ms. The file '/mnt/vss/_work/1/s/artifacts/bin/redist/Release/dotnet/shared/Microsoft.NETCore.App/10.0.4/libclrgcexp.so' already exists.

I’ve reverted my change to keep the PR clean.

nagilson and others added 3 commits March 24, 2026 11:12
Move the cross-compilation shared framework copy into a separate target
(OverwriteStage0SharedFxForCrossCompilation) that uses target batching
via Outputs=%(_Stage0NETCoreSharedFxDir.Identity). This captures each
directory identity into a property that can be safely used inside the
@(_BuiltNETCoreSharedFxFile) item transform, avoiding both:

- MSB4043: qualified metadata reference inside a transform
- MSB3026: copy-to-self when using unqualified %(Identity)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The cross-compilation overlay only handled Microsoft.NETCore.App,
leaving stage0 Microsoft.AspNetCore.App native binaries with the
build machine's architecture. This caused BadImageFormatException
in tests that start ASP.NET Core servers (e.g. Aspire tests) when
cross-compiling for a different architecture.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nagilson nagilson merged commit da3b26d into release/10.0.2xx Mar 25, 2026
30 checks passed
@nagilson nagilson deleted the darc-release/10.0.2xx-afb95f6a-80c4-4edb-9213-c8d71d9a6dc5 branch March 25, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants