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: UInt32The number of assembly names passed in prgAssemblySpecs.
prgResolvedAssemblyPaths
Type: array<Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[][in, out] The resolved assembly reference paths. The caller needs to pre-allocate this array for the number of assemblies to resolve (cAssembliesToResolve).
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
- 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.