次の方法で共有


IVsFrameworkMultiTargeting.ResolveAssemblyPathsInTargetFx Method

Definition

Resolves the assembly reference paths for the passed in assemblies in the specified target framework.

public:
 int ResolveAssemblyPathsInTargetFx(System::String ^ pwszTargetFrameworkMoniker, Array ^ prgAssemblySpecs, System::UInt32 cAssembliesToResolve, cli::array <Microsoft::VisualStudio::Shell::Interop::VsResolvedAssemblyPath> ^ prgResolvedAssemblyPaths, [Runtime::InteropServices::Out] System::UInt32 % pcResolvedAssemblyPaths);
public int ResolveAssemblyPathsInTargetFx (string pwszTargetFrameworkMoniker, Array prgAssemblySpecs, uint cAssembliesToResolve, Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[] prgResolvedAssemblyPaths, out uint pcResolvedAssemblyPaths);
abstract member ResolveAssemblyPathsInTargetFx : string * Array * uint32 * Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[] * uint32 -> int
Public Function ResolveAssemblyPathsInTargetFx (pwszTargetFrameworkMoniker As String, prgAssemblySpecs As Array, cAssembliesToResolve As UInteger, prgResolvedAssemblyPaths As VsResolvedAssemblyPath(), ByRef pcResolvedAssemblyPaths As UInteger) As Integer

Parameters

pwszTargetFrameworkMoniker
String

[in] The monikor of the target framework in which to resolve the assemblies.

prgAssemblySpecs
Array

[in, size_is(cAssembliesToResolve)] The list of assembly specifications that need to be resolved.

cAssembliesToResolve
UInt32

[in] Number of assembly specifications passed in prgAssemblySpecs.

prgResolvedAssemblyPaths
VsResolvedAssemblyPath[]

[in, out, size_is(cAssembliesToResolve)] An array containing the resolved assembly reference paths. The caller of this method must pre-allocate this array for cAssembliesToResolve elements

pcResolvedAssemblyPaths
UInt32

[out] Number of resolved assembly paths in the prgResolvedAssemblyPaths output array.

Returns

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

Applies to