Open goldshtn opened 8 years ago
See comment in https://github.com/Fody/Costura/issues/95 -- can use ILTemplate.ResolveAssembly (even though it's internal) to resolve assembly references from memory in the secondary AppDomain instead of having to spill assemblies to disk and set up the ApplicationBase here: https://github.com/goldshtn/msos/blob/windbg-extension/msoscore/HeapQuery.cs#L37.
ILTemplate.ResolveAssembly
AppDomain
ApplicationBase
Hi
Did you solve this ? I have hit the same problem and need a assembly created with fody to be loaded in a custom app domain so I can unload it when it's not needed anymore.
Thanks
See comment in https://github.com/Fody/Costura/issues/95 -- can use
ILTemplate.ResolveAssembly
(even though it's internal) to resolve assembly references from memory in the secondaryAppDomain
instead of having to spill assemblies to disk and set up theApplicationBase
here: https://github.com/goldshtn/msos/blob/windbg-extension/msoscore/HeapQuery.cs#L37.