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:
2026-04-29 09:36:17 +10:00
parent 7cf07b50d2
commit df6671d729
+1 -479
View File
File diff suppressed because one or more lines are too long