IVsDesignTimeAssemblyResolution2::ResolveAssemblyPathInTargetFx2 Method (array<String^>^, UInt32, Boolean, array<VsResolvedAssemblyPath>^, UInt32)

 

Resolves the assembly reference paths for the passed in assemblies while giving the ability to ignore version when resolving a reference from the targeted framework.

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

int ResolveAssemblyPathInTargetFx2(
	array<String^>^ prgAssemblySpecs,
	unsigned int cAssembliesToResolve,
	bool ignoreVersionForFrameworkReferences,
	array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths,
	[OutAttribute] unsigned int% pcResolvedAssemblyPaths
)

Parameters

prgAssemblySpecs
Type: array<System::String^>^

Array of strings containing the list of assembly names that need to be resolved.

cAssembliesToResolve
Type: System::UInt32

Number of assembly names passed in to prgAssemblySpecs.

ignoreVersionForFrameworkReferences
Type: System::Boolean

Indicates if the version is to be ignored when resolving framework references. If true, the version is ignored.

prgResolvedAssemblyPaths
Type: array<Microsoft.VisualStudio.Shell.Interop::VsResolvedAssemblyPath>^

Array containing the resolved assembly reference paths. The caller must preallocate this array for cAssembliesToResolve elements.

pcResolvedAssemblyPaths
Type: System::UInt32

Number of resolved assembly paths in the prgResolvedAssemblyPaths output array.

Return Value

Type: System::Int32
Return to top
Show: