Skip to content

AppDomain.AssemblyResolve can be fired/not fired depending on the type of exception thrown by other extension points #1025

@elinor-fung

Description

@elinor-fung

If an event handler for AssemblyLoadContext.Resolving or override of AssemblyLoadContext.Load throws a FileNotFoundException, the AppDomain.AssemblyResolve event is still fired, so other extension points still have an opportunity to resolve the assembly.

For any other kind of exception, it is not fired.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions