Skip to content

Add support for MTP #1807

@CharliePoole

Description

@CharliePoole

To support MTP we must check whether the assembly is pre-loaded. If it is, we should use that assembly in it's own load context and continue to seek dependencies in that context. If we resolve any dependencies, we must load them into that context as well.

If the assembly is not pre-loaded, we create our own AssemblyLoadContext and continue to use that as before.

We expect this change to resolve nunit/nunit3-vs-adapter#1389 and possibly other issues involving pre-loaded assemblies.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions