- Home /
Question by
Reddevildragg · May 18, 2020 at 09:26 AM ·
assembliesstripping
Best way to preserve a class from Code Stripping
What is the best way to preserve a class from code stripping if i still want the process to run over the rest of an assembly.
I have tried putting the preserve attribute at the top of a class as well as on all its methods and property but when running a test it looks as though the class was still stripped out of the final build.
i guessing there is a way to preserve a whole class without also preserving the entire assembly, but cant find the way of doing this when having a search.
Thanks for any help
Comment
Your answer
Follow this Question
Related Questions
Can't seem to get link.xml working with AWS SDK 4 Answers
System.Numerics.BigInteger in Unity 5.6 1 Answer
Can I make my own Metafiles and script assembly? 1 Answer
Cannot Build for iOS Platform 0 Answers
Stale Assemblies and Runtime 0 Answers