AssemblyDependencyResolver.ResolveAssemblyToPath(AssemblyName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves a path to an assembly with the given assembly name based on the component's dependencies.
public:
System::String ^ ResolveAssemblyToPath(System::Reflection::AssemblyName ^ assemblyName);
public string? ResolveAssemblyToPath (System.Reflection.AssemblyName assemblyName);
member this.ResolveAssemblyToPath : System.Reflection.AssemblyName -> string
Public Function ResolveAssemblyToPath (assemblyName As AssemblyName) As String
Parameters
- assemblyName
- AssemblyName
The assembly name to resolve.
Returns
The path to an assembly with the given name from the component's deps.json file, 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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.