IVsFrameworkMultiTargeting::ResolveAssemblyPath Method (String^, String^, String^)

 

Tries to resolve the assembly path 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)

int ResolveAssemblyPath(
	String^ pwszAssemblySpec,
	String^ pwszTargetFrameworkMoniker,
	[OutAttribute] String^% pbstrResolvedAssemblyPath
)

Parameters

pwszAssemblySpec
Type: System::String^

[in] The assembly name/specification. This parameter can be either a path or an assembly name. If it is a path, the assembly name is loaded from the path.

pwszTargetFrameworkMoniker
Type: System::String^

[in] The moniker of the target framework.

pbstrResolvedAssemblyPath
Type: System::String^

[out, retval] The resolved assembly path. Returns null if the assembly does not belong in the given target framework.

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: