Skip to content

[main] Update dependencies from dotnet/dotnet#11219

Open
dotnet-maestro[bot] wants to merge 3 commits intomainfrom
darc-main-fd95e9a5-2ed4-4162-a8b8-ed7c0a879253
Open

[main] Update dependencies from dotnet/dotnet#11219
dotnet-maestro[bot] wants to merge 3 commits intomainfrom
darc-main-fd95e9a5-2ed4-4162-a8b8-ed7c0a879253

Conversation

@dotnet-maestro
Copy link
Copy Markdown
Contributor

This pull request updates the following dependencies

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

…426.11

On relative base path root
Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26215.121 -> To Version 11.0.0-beta.26226.111
Microsoft.DotNet.Cecil From Version 0.11.5-preview.26215.121 -> To Version 0.11.5-preview.26226.111
Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.4.26215.121 -> To Version 11.0.0-preview.5.26226.111
Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.4.26215.121 -> To Version 11.0.100-preview.5.26226.111
jonathanpeppers and others added 2 commits April 27, 2026 13:01
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>
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