IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx Method (String[], UInt32, VsResolvedAssemblyPath[], UInt32)

 

Resolves the assembly paths in the target .NET Framework.

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

int ResolveAssemblyPathInTargetFx(
	string[] prgAssemblySpecs,
	uint cAssembliesToResolve,
	VsResolvedAssemblyPath[] prgResolvedAssemblyPaths,
	out uint pcResolvedAssemblyPaths
)

Parameters

prgAssemblySpecs
Type: System.String[]

The list of assembly names that need to be resolved.

cAssembliesToResolve
Type: System.UInt32

The number of assembly names passed in prgAssemblySpecs.

prgResolvedAssemblyPaths
Type: 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: System.UInt32

The number of resolved assembly paths.

Return Value

Type: System.Int32

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

Return to top
Show: