แก้ไข

แชร์ผ่าน


AssemblyDependencyResolver(String) Constructor

Definition

Initializes a new instance of the AssemblyDependencyResolver class with a path to a component's assembly.

public:
 AssemblyDependencyResolver(System::String ^ componentAssemblyPath);
public AssemblyDependencyResolver (string componentAssemblyPath);
new System.Runtime.Loader.AssemblyDependencyResolver : string -> System.Runtime.Loader.AssemblyDependencyResolver
Public Sub New (componentAssemblyPath As String)

Parameters

componentAssemblyPath
String

The path to the component or plugin's managed entry point.

Remarks

componentAssemblyPath can be a relative or an absolute path. The assembly must have an accompanying deps.json file in the same directory that describes the assembly's dependencies. This file is output during the build process.

Applies to