Редагувати

Поділитися через


AssemblyDependencyResolver.ResolveUnmanagedDllToPath(String) Method

Definition

Resolves a path to a native library with the given name based on the component's dependencies.

public:
 System::String ^ ResolveUnmanagedDllToPath(System::String ^ unmanagedDllName);
public string? ResolveUnmanagedDllToPath (string unmanagedDllName);
member this.ResolveUnmanagedDllToPath : string -> string
Public Function ResolveUnmanagedDllToPath (unmanagedDllName As String) As String

Parameters

unmanagedDllName
String

The name of the native library to resolve.

Returns

The path to a native library with the given name from the component's deps.json file and the current runtime identifier, or null if the assembly does not exist in the deps.json file or is not on disk in the location specified by the deps.json file.

Applies to