Table of Contents

Class AssemblyHelper

Namespace
Xunit
Assembly
xunit.v3.runner.utility.netfx.dll

This class provides assistance with assembly resolution for missing assemblies.

public class AssemblyHelper : MarshalByRefObject, IDisposable
Inheritance
AssemblyHelper
Implements
Inherited Members

Constructors

AssemblyHelper(string)

Constructs an instance using the given directory for resolution.

AssemblyHelper(string, IMessageSink?)

Constructs an instance using the given directory for resolution.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.

SubscribeResolveForAssembly(string, IMessageSink?)

Subscribes to the appropriate assembly resolution event, to provide automatic assembly resolution for an assembly and any of its dependencies. Depending on the target platform, this may include the use of the .deps.json file generated during the build process.

SubscribeResolveForAssembly(Type, IMessageSink?)

Subscribes to the appropriate assembly resolution event, to provide automatic assembly resolution for an assembly and any of its dependencies. Depending on the target platform, this may include the use of the .deps.json file generated during the build process.