
.NET: How AOTed trimmed application can read data from another assembly
I will show you ways to read string data from arbitrary .NET assembly in case when you don’t have: Reflection, i.e when you operate from a trimmed or AOTed application Full set of app dependencies. This is conceptionally wrong - why do we need to load everything, when we only need raw data from a library, also, I wanted a way to read data from damaged distributions. Let’s imagine we have an assembly, where we have this code: ...
