fix: add AssemblyResolve handler for reflection diagnostics
Previous version failed GetExportedTypes() because Assembly.Load(bytes) couldn't resolve Disco.Services.dll from the PowerShell process. Now uses LoadFrom() with an AssemblyResolve handler that probes both the build output and Disco bin directories. Also adds ReflectionTypeLoad exception detail logging and proper handler cleanup in finally block.
This commit is contained in:
+1
-479
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user