ILLink #2640
-
ImageSharp is one of the biggest assemblies in my android app. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 24 replies
-
Yes. Are you using the latest version? We recently did work that much reduced the binary size. #2514 |
Beta Was this translation helpful? Give feedback.
-
If you’re not getting the same results then you’re doing something different. I built that project and ran Sizoscope against it. Could you share your results? |
Beta Was this translation helpful? Give feedback.
-
The suggested code change does not work on my repro app. |
Beta Was this translation helpful? Give feedback.
@tranb3r another workaround that you can try in your project is to use an ILLink substitution xml to replace the static constructor body with an empty stub:
Create a file called substitution.xml
And add the following to your .csproj: