IVsFrameworkMultiTargeting2.ResolveAssemblyPathsInTargetFx2 Method
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).
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub ResolveAssemblyPathsInTargetFx2 ( _
pwszTargetFrameworkMoniker As String, _
prgAssemblySpecs As Array, _
cAssembliesToResolve As UInteger, _
ignoreVersionForFrameworkReferences As Boolean, _
<OutAttribute> prgResolvedAssemblyPaths As VsResolvedAssemblyPath(), _
<OutAttribute> ByRef pcResolvedAssemblyPaths As UInteger _
)
void ResolveAssemblyPathsInTargetFx2(
string pwszTargetFrameworkMoniker,
Array prgAssemblySpecs,
uint cAssembliesToResolve,
bool ignoreVersionForFrameworkReferences,
VsResolvedAssemblyPath[] prgResolvedAssemblyPaths,
out uint pcResolvedAssemblyPaths
)
void ResolveAssemblyPathsInTargetFx2(
[InAttribute] String^ pwszTargetFrameworkMoniker,
[InAttribute] Array^ prgAssemblySpecs,
[InAttribute] unsigned int cAssembliesToResolve,
[InAttribute] bool ignoreVersionForFrameworkReferences,
[OutAttribute] array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths,
[OutAttribute] unsigned int% pcResolvedAssemblyPaths
)
abstract ResolveAssemblyPathsInTargetFx2 :
pwszTargetFrameworkMoniker:string *
prgAssemblySpecs:Array *
cAssembliesToResolve:uint32 *
ignoreVersionForFrameworkReferences:bool *
prgResolvedAssemblyPaths:VsResolvedAssemblyPath[] byref *
pcResolvedAssemblyPaths:uint32 byref -> unit
function ResolveAssemblyPathsInTargetFx2(
pwszTargetFrameworkMoniker : String,
prgAssemblySpecs : Array,
cAssembliesToResolve : uint,
ignoreVersionForFrameworkReferences : boolean,
prgResolvedAssemblyPaths : VsResolvedAssemblyPath[],
pcResolvedAssemblyPaths : uint
)
Parameters
pwszTargetFrameworkMoniker
Type: String[in] The target framework in which to resolve the assemblies.
prgAssemblySpecs
Type: Array[in, size_is(cAssembliesToResolve)] Array of strings containing the list of assembly specifications that need to be resolved.
cAssembliesToResolve
Type: UInt32[in] Number of assembly specifications passed in to prgAssemblySpecs.
ignoreVersionForFrameworkReferences
Type: Boolean[in] Specifies if the version is to be ignored when resolving framework references. If true, the version is ignored.
prgResolvedAssemblyPaths
Type: array<Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[][in, out, size_is(cAssembliesToResolve)] Array containing the resolved assembly reference paths. You need to pre-allocate this array for cAssembliesToResolve elements.
pcResolvedAssemblyPaths
Type: UInt32%[out] Number of resolved assembly paths in the prgResolvedAssemblyPaths output array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.