IVsFrameworkMultiTargeting.ResolveAssemblyPathsInTargetFx Method
Resolves the assembly reference paths for the passed in assemblies in the specified target framework.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function ResolveAssemblyPathsInTargetFx ( _
pwszTargetFrameworkMoniker As String, _
prgAssemblySpecs As Array, _
cAssembliesToResolve As UInteger, _
<OutAttribute> prgResolvedAssemblyPaths As VsResolvedAssemblyPath(), _
<OutAttribute> ByRef pcResolvedAssemblyPaths As UInteger _
) As Integer
int ResolveAssemblyPathsInTargetFx(
string pwszTargetFrameworkMoniker,
Array prgAssemblySpecs,
uint cAssembliesToResolve,
VsResolvedAssemblyPath[] prgResolvedAssemblyPaths,
out uint pcResolvedAssemblyPaths
)
int ResolveAssemblyPathsInTargetFx(
[InAttribute] String^ pwszTargetFrameworkMoniker,
[InAttribute] Array^ prgAssemblySpecs,
[InAttribute] unsigned int cAssembliesToResolve,
[OutAttribute] array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths,
[OutAttribute] unsigned int% pcResolvedAssemblyPaths
)
abstract ResolveAssemblyPathsInTargetFx :
pwszTargetFrameworkMoniker:string *
prgAssemblySpecs:Array *
cAssembliesToResolve:uint32 *
prgResolvedAssemblyPaths:VsResolvedAssemblyPath[] byref *
pcResolvedAssemblyPaths:uint32 byref -> int
function ResolveAssemblyPathsInTargetFx(
pwszTargetFrameworkMoniker : String,
prgAssemblySpecs : Array,
cAssembliesToResolve : uint,
prgResolvedAssemblyPaths : VsResolvedAssemblyPath[],
pcResolvedAssemblyPaths : uint
) : int
Parameters
pwszTargetFrameworkMoniker
Type: System.String[in] The monikor of the target framework in which to resolve the assemblies.
prgAssemblySpecs
Type: System.Array[in, size_is(cAssembliesToResolve)] The list of assembly specifications that need to be resolved.
cAssembliesToResolve
Type: System.UInt32[in] Number of assembly specifications passed in prgAssemblySpecs.
prgResolvedAssemblyPaths
Type: array<Microsoft.VisualStudio.Shell.Interop.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
Type: System.UInt32%[out] Number of resolved assembly paths in the prgResolvedAssemblyPaths output array.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.