次の方法で共有


IVsFrameworkMultiTargeting2.ResolveAssemblyPathsInTargetFx2 Method

Definition

Resolves the assembly reference paths for the passed in assemblies in the given target framework while ignoring the version for resolving framework references (as described in the framework redistributable list).

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

Parameters

pwszTargetFrameworkMoniker
String

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

prgAssemblySpecs
Array

[in, size_is(cAssembliesToResolve)] Array of strings containing the list of assembly specifications that need to be resolved.

cAssembliesToResolve
UInt32

[in] Number of assembly specifications passed in to prgAssemblySpecs.

ignoreVersionForFrameworkReferences
Boolean

[in] Specifies if the version is to be ignored when resolving framework references. If true, the version is ignored.

prgResolvedAssemblyPaths
VsResolvedAssemblyPath[]

[in, out, size_is(cAssembliesToResolve)] Array containing the resolved assembly reference paths. You need to pre-allocate this array for cAssembliesToResolve elements.

pcResolvedAssemblyPaths
UInt32

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

Applies to