Skip to content

[release/11.0.1xx-preview4] Update dependencies from dotnet/dotnet#11229

Merged
jonathanpeppers merged 3 commits intorelease/11.0.1xx-preview4from
darc-release/11.0.1xx-preview4-1131df59-acb4-414d-95df-ff9504510a4b
Apr 29, 2026
Merged

[release/11.0.1xx-preview4] Update dependencies from dotnet/dotnet#11229
jonathanpeppers merged 3 commits intorelease/11.0.1xx-preview4from
darc-release/11.0.1xx-preview4-1131df59-acb4-414d-95df-ff9504510a4b

Conversation

@dotnet-maestro
Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

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

…424.22

On relative base path root
Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26215.121 -> To Version 11.0.0-beta.26224.122
Microsoft.DotNet.Cecil From Version 0.11.5-preview.26215.121 -> To Version 0.11.5-preview.26224.122
Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.4.26215.121 -> To Version 11.0.0-preview.4.26224.122
Microsoft.NET.Sdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-11.0.100-preview.4 , Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest-11.0.100-preview.4 , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.4.26215.121 -> To Version 11.0.100-preview.4.26224.122
jonathanpeppers and others added 2 commits April 28, 2026 08:30
dotnet/runtime#125673 added a Condition to _PrepareTrimConfiguration that
skips adding the app assembly as TrimmerRootAssembly when OutputType=Library.
Since Android apps set OutputType=Library (no managed Main()), the app
assembly is no longer rooted by the upstream SDK, causing ILLink to omit it
from linked output. This breaks NativeAOT (ILC cannot find the linked app
DLL) and trimmed MonoVM builds.

Fix by explicitly adding the app assembly as TrimmerRootAssembly with
RootMode=All in _FixRootAssembly, instead of relying on converting the
upstream EntryPoint root.

Also remove the now-unnecessary _RemoveAppAssemblyFromTrimmerRoots
workaround in Trimmable.CoreCLR.targets, since the upstream fix it was
waiting for (dotnet/runtime#125673) has landed.

Fixes #11146

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are just a couple flaky tests we can ignore:

Image

@jonathanpeppers jonathanpeppers merged commit 0440861 into release/11.0.1xx-preview4 Apr 29, 2026
2 of 3 checks passed
@jonathanpeppers jonathanpeppers deleted the darc-release/11.0.1xx-preview4-1131df59-acb4-414d-95df-ff9504510a4b branch April 29, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant