Partager via


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: String

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

  • prgAssemblySpecs
    Type: Array

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

  • cAssembliesToResolve
    Type: UInt32

    [in] Number of assembly specifications passed in prgAssemblySpecs.

  • pcResolvedAssemblyPaths
    Type: UInt32%

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsFrameworkMultiTargeting Interface

Microsoft.VisualStudio.Shell.Interop Namespace