goldshtn / msos

Command-line environment a-la WinDbg for executing SOS commands without having SOS available.
Other
96 stars 21 forks source link

Do not spill assemblies to disk and use assembly resolution from ILTemplate instead #44

Open goldshtn opened 8 years ago

goldshtn commented 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.

tdsrhh commented 4 years ago

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