-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[area-Tools-ILLink]: Error IL1012: IL Trimmer has encountered an unexpected error #91880
Comments
Hey, I can confirm the same issue exists in MAUI build for iOS:
What may be helpful is that the class that causes it is a private static class:
What is also worth to add is that this issue is a serious blocker as on iOS we can not apply mentioned workaround cause of the error Setting 'MtouchLink=None' does not solve the issue ConfigurationWhich version of .NET is the code running on? 8 |
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas Issue DetailsDescriptionWhen publishing a .NET 8 Blazor App with only one external library it gives the error:
Reproduction Steps
Expected behaviorThe optimization/link should not give errors Actual behavior
Regression?No response Known WorkaroundsSetting in the PropertyGroup:
ConfigurationWhich version of .NET is the code running on? 8 Other informationNo response
|
Description
When publishing a .NET 8 Blazor App with only one external library it gives the error:
Reproduction Steps
Expected behavior
The optimization/link should not give errors
Actual behavior
Regression?
No response
Known Workarounds
Setting in the PropertyGroup:
Configuration
Which version of .NET is the code running on? 8
What OS and version, and what distro if applicable? Windows 11 Pro 22H2
What is the architecture (x64, x86, ARM, ARM64)? x64
Do you know whether it is specific to that configuration? No
If you're using Blazor, which web browser(s) do you see this issue in? --
Other information
No response
The text was updated successfully, but these errors were encountered: