AOT remove assemblies not used. #476
Unanswered
AlbertoMonteiro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Thanks for the report! This is actually caused by #423, where the package is forcibly added to all projects referencing Uno.Wasm.Bootstrap. You may try a work around by adding this to your project: <Target Name="RemoveBootstrapCompatibilityRef" AfterTargets="WasmBootstrapAdjustFrameworkReference">
<ItemGroup>
<PackageReference Remove="Microsoft.Windows.Compatibility" />
</ItemGroup>
</Target> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!!
First I would like to thank you guys for providing such amazing framework!!
I am trying to help the owner of regex101 site adding C# regex support.
Thats the issue firasdib/Regex101#156.
I created that repo to provide an way to run regex C# engine from js.
https://github.com/AlbertoMonteiro/RegexWasmUno
I am using FullAOT version, but when I was checking network calls, I saw many assemblies being fetched that I don't use, like System.Net.Mail.
Is there an way to remove those unwanted/unused assemblies?
Also there is any tip to improve performance even further?
Beta Was this translation helpful? Give feedback.
All reactions