-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking an empty .NET MAUI app produces inconsistent binaries #86242
Comments
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas Issue DetailsRepro:
Observations:
Expectations:
|
I was able to reproduce the issue with the repro that you shared with @vitek-karas. Here's what's happening:
I don't have full context, but it seems like the action is set to |
Thanks for analyzing it! Before I reported the issue I made sure that it reproduces on stock runtime/linker/workloads. The repro I sent, however, used a new feature introduced in xamarin/xamarin-macios#18268. In that case the I suppose that on the stock workload the issue is the use of |
Removing I was not able reproduce the issue on stock workloads this time. I'm not sure if I accidentally changed something or if it's a result of Tuesday's updates (unlikely). I'll try again tomorrow. |
Repro:
dotnet new maui
dotnet build -f net8.0-maccatalyst
obj/Debug/net8.0-maccatalyst/maccatalyst-x64/linked/
.Observations:
Microsoft.Maui.Controls.dll
theINavigation.PopToRootAsync()
method is trimmed from the interface.Microsoft.Maui.Compatibility.dll
theMicrosoft.Maui.Controls.Compatibility.Platform.iOS.Platform
type keeps an explicit implementation of theINavigation.PopToRootAsync()
method.Expectations:
The text was updated successfully, but these errors were encountered: