AssemblyLoader
Namespace: Dotsider.Core.Analysis
Assembly: Dotsider.Core.dll
Shared factory for opening assembly files. Handles apphosts (companion .dll redirect), single-file bundles (entry assembly extraction), Native AOT binaries, raw Wasm modules, and direct .dll/.exe loading. Returns an AssemblyOpenResult that preserves the distinction so callers can decide how to present each case (e.g. showing an apphost dialog).
public static class AssemblyLoaderInheritance
Section titled “Inheritance”Object → AssemblyLoader
Methods
Section titled “Methods”Open(string)
Section titled “Open(string)”Opens an assembly from the given path, detecting apphosts and single-file bundles.
Parameters:
filePath(String): Path to the file to open.
Returns: AssemblyOpenResult
An AssemblyOpenResult describing the result: Direct for regular assemblies, ApphostWithCompanion for native apphosts with a companion .dll, BundleEntry for single-file bundles, NativeAot for Native AOT compiled binaries, or Direct for raw Wasm modules.
public static AssemblyOpenResult Open(string filePath)