Partager via


IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx Method

Resolves the assembly paths in the target .NET Framework.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Function ResolveAssemblyPathInTargetFx ( _
    prgAssemblySpecs As String(), _
    cAssembliesToResolve As UInteger, _
    <OutAttribute> prgResolvedAssemblyPaths As VsResolvedAssemblyPath(), _
    <OutAttribute> ByRef pcResolvedAssemblyPaths As UInteger _
) As Integer
int ResolveAssemblyPathInTargetFx(
    string[] prgAssemblySpecs,
    uint cAssembliesToResolve,
    VsResolvedAssemblyPath[] prgResolvedAssemblyPaths,
    out uint pcResolvedAssemblyPaths
)
int ResolveAssemblyPathInTargetFx(
    [InAttribute] array<String^>^ prgAssemblySpecs, 
    [InAttribute] unsigned int cAssembliesToResolve, 
    [OutAttribute] array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths, 
    [OutAttribute] unsigned int% pcResolvedAssemblyPaths
)
abstract ResolveAssemblyPathInTargetFx : 
        prgAssemblySpecs:string[] * 
        cAssembliesToResolve:uint32 * 
        prgResolvedAssemblyPaths:VsResolvedAssemblyPath[] byref * 
        pcResolvedAssemblyPaths:uint32 byref -> int
function ResolveAssemblyPathInTargetFx(
    prgAssemblySpecs : String[], 
    cAssembliesToResolve : uint, 
    prgResolvedAssemblyPaths : VsResolvedAssemblyPath[], 
    pcResolvedAssemblyPaths : uint
) : int

Parameters

  • prgAssemblySpecs
    Type: array<String[]

    The list of assembly names that need to be resolved.

  • cAssembliesToResolve
    Type: UInt32

    The number of assembly names passed in prgAssemblySpecs.

  • pcResolvedAssemblyPaths
    Type: UInt32%

    The number of resolved assembly paths.

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

IVsDesignTimeAssemblyResolution Interface

Microsoft.VisualStudio.Shell.Interop Namespace