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)
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
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)