IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx Method

Definition

Resolves the assembly paths in the target .NET Framework.

C#
public int ResolveAssemblyPathInTargetFx(string[] prgAssemblySpecs, uint cAssembliesToResolve, Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[] prgResolvedAssemblyPaths, out uint pcResolvedAssemblyPaths);

Parameters

prgAssemblySpecs
String[]

The list of assembly names that need to be resolved.

cAssembliesToResolve
UInt32

The number of assembly names passed in prgAssemblySpecs.

prgResolvedAssemblyPaths
VsResolvedAssemblyPath[]

[in, out] The resolved assembly reference paths. The caller needs to pre-allocate this array for the number of assemblies to resolve (cAssembliesToResolve).

pcResolvedAssemblyPaths
UInt32

The number of resolved assembly paths.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022