Skip to content

Updating my project to net10 and uno 6.4 getting IL warnings on ios and other image issues #22024

Description

@cconner100

Current behavior 🐛

Upgraded an existing project from net9 to net10 and uno 6.4. On iOS builds i get the following warnings which did not appear in the pervious release

/Users/curtisconner/ZiiDMS-NextGen/Client/Icons/IconLibrary/obj/Debug/net10.0-ios/unoresizetizer/r/Assets/Backgrounds/ziidmsdashboardbackground.png : warning MT7156: The BundleResource item '/Users/curtisconner/ZiiDMS-NextGen/Client/Icons/IconLibrary/obj/Debug/net10.0-ios/unoresizetizer/r/Assets/Backgrounds/ziidmsdashboardbackground.png' was ignored, because there's another item with the same LogicalName ('IconLibrary/Assets/Backgrounds/ziidmsdashboardbackground.png')
/Users/curtisconner/ZiiDMS-NextGen/Client/Icons/IconLibrary/obj/Debug/net10.0-ios/unoresizetizer/r/Assets/Backgrounds/ziidmsdashboardbackground.scale-100.png : warning MT7156: The BundleResource item '/Users/curtisconner/ZiiDMS-NextGen/Client/Icons/IconLibrary/obj/Debug/net10.0-ios/unoresizetizer/r/Assets/Backgrounds/ziidmsdashboardbackground.scale-100.png' was ignored, because there's another item with the same LogicalName ('IconLibrary/Assets/Backgrounds/ziidmsdashboardbackground.png')
(truncated since this is done for every png in my system)
/Users/curtisconner/.nuget/packages/system.configuration.configurationmanager/9.0.4/lib/net9.0/System.Configuration.ConfigurationManager.dll : warning IL2104: Assembly 'System.Configuration.ConfigurationManager' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.communitytoolkit.winui.ui.controls.datagrid/7.1.204/lib/net7.0/CommunityToolkit.WinUI.UI.Controls.DataGrid.dll : warning IL2104: Assembly 'CommunityToolkit.WinUI.UI.Controls.DataGrid' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.core.extensions/4.1.1/lib/net7.0/Uno.Core.Extensions.dll : warning IL2104: Assembly 'Uno.Core.Extensions' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.extensions.core/7.0.4/lib/net8.0/Uno.Extensions.Core.dll : warning IL2104: Assembly 'Uno.Extensions.Core' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.extensions.http/7.0.4/lib/net8.0/Uno.Extensions.Http.dll : warning IL2104: Assembly 'Uno.Extensions.Http' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.extensions.navigation.winui/7.0.4/lib/net8.0/Uno.Extensions.Navigation.UI.dll : warning IL2104: Assembly 'Uno.Extensions.Navigation.UI' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.extensions.navigation/7.0.4/lib/net8.0/Uno.Extensions.Navigation.dll : warning IL2104: Assembly 'Uno.Extensions.Navigation' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.foundation/6.4.185/lib/net10.0-ios26.0/Uno.Foundation.dll : warning IL2104: Assembly 'Uno.Foundation' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.toolkit.winui/8.3.2/lib/net9.0/Uno.Toolkit.WinUI.dll : warning IL2104: Assembly 'Uno.Toolkit.WinUI' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.app.mcp/1.0.9/lib/net9.0/Uno.UI.App.Mcp.Client.dll : warning IL2104: Assembly 'Uno.UI.App.Mcp.Client' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0-ios18.0/Uno.UI.HotDesign.Abstractions.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Abstractions'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0-ios18.0/Uno.UI.HotDesign.Messaging.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Messaging'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0-ios18.0/Uno.UI.HotDesign.Messaging.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.Messaging' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0-ios18.0/Uno.UI.HotDesign.Xaml.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Xaml'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0-ios18.0/Uno.UI.HotDesign.Xaml.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.Xaml' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Chat.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Chat'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Client.Core.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.Client.Core' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Client.Core.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Client.Core'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Client.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.Client' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Client.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Client'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.CommunityToolkit.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.CommunityToolkit'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.CommunityToolkit.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.CommunityToolkit' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Hierarchy.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.Hierarchy' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Hierarchy.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Hierarchy'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.PropertyGrid.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.PropertyGrid'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.PropertyGrid.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.PropertyGrid' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Stories.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Stories'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Toolbox.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Toolbox'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Xaml.Interactions.dll : warning IL2104: Assembly 'Uno.UI.HotDesign.Xaml.Interactions' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Xaml.Interactions.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Xaml.Interactions'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.ui.hotdesign/1.17.282/lib/net9.0/Uno.UI.HotDesign.Xaml.Interactivity.dll : warning IL2102: Invalid AssemblyMetadata("IsTrimmable", "False") attribute in assembly 'Uno.UI.HotDesign.Xaml.Interactivity'. Value must be "True".
/Users/curtisconner/.nuget/packages/uno.winui.devserver/6.4.185/uno-runtime/net10.0/skia/Uno.UI.RemoteControl.dll : warning IL2104: Assembly 'Uno.UI.RemoteControl' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.winui/6.4.185/uno-runtime/net10.0/skia/Uno.UI.dll : warning IL2104: Assembly 'Uno.UI' produced trim warnings. For more information see https://aka.ms/il2104
/Users/curtisconner/.nuget/packages/uno.winui/6.4.185/uno-runtime/net10.0/skia/Uno.Xaml.dll : warning IL2104: Assembly 'Uno.Xaml' produced trim warnings. For more information see https://aka.ms/il2104
/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64/10.0.0/runtimes/iossimulator-arm64/lib/net10.0/System.Private.Xml.dll : warning IL2104: Assembly 'System.Private.Xml' produced trim warnings. For more information see https://aka.ms/il2104

Build succeeded with 401 warning(s) in 100.8s

  • Terminal will be reused by tasks, press any key to close it.

attached is the binlog

net10.0-ios-Debug-iossimulator-arm64.binlog.zip

Expected behavior 🎯

should not have warnings

How to reproduce it (as minimally and precisely as possible) 🔬

No response

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

iOS

Uno.Sdk version (and other relevant versions) 📦

6.4 and .net10

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIproject/core-tools 🛠️Categorizes an issue or PR as relevant to core and tools

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions