-
Notifications
You must be signed in to change notification settings - Fork 1.9k
publish an app which reference a trim safe library but warning with il2026 #34381
Copy link
Copy link
Open
Labels
area-publishingIssues with the app packaging/publishing process (ipk/apk/msix/trimming)Issues with the app packaging/publishing process (ipk/apk/msix/trimming)platform/iost/bugSomething isn't workingSomething isn't working
Description
Apple platform
iOS
Framework version
net10.0-*
Affected platform version
.net 10 latest version
Description
Background please see here
stef-k/MauiControlsExtras#283
MauiControlsExtras is config with safe trimming, but the sampleapp reference the nuget, then publish it using command, will shown 200+ warning about il2026.
Steps to Reproduce
- cloned the source code from https://github.com/jingliancui/ExtrasComboBoxReleaseIssue
- When you use command to publish the app
dotnet publish -f net10.0-ios -p:ArchiveOnBuild=true -p:ApplicationTitle="SampleAppUAT" -p:ApplicationId="yourappid" -p:CodesignKey="yourcodesignkey" -p:CodesignProvision="yourcodesignprovision"
Then 200+ warning about ILC : Trim analysis warning IL2026 shows
Did you find any workaround?
no
Build logs
please see the log from stef-k/MauiControlsExtras#283 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-publishingIssues with the app packaging/publishing process (ipk/apk/msix/trimming)Issues with the app packaging/publishing process (ipk/apk/msix/trimming)platform/iost/bugSomething isn't workingSomething isn't working