다음을 통해 공유


IVsFrameworkMultiTargeting2.ResolveAssemblyPath2 Method

Definition

Resolves the assembly path in the given target framework.

public:
 System::String ^ ResolveAssemblyPath2(System::String ^ pwszAssemblySpec, System::String ^ pwszTargetFrameworkMoniker, bool ignoreVersionForFrameworkReferences);
public:
 Platform::String ^ ResolveAssemblyPath2(Platform::String ^ pwszAssemblySpec, Platform::String ^ pwszTargetFrameworkMoniker, bool ignoreVersionForFrameworkReferences);
std::wstring ResolveAssemblyPath2(std::wstring const & pwszAssemblySpec, std::wstring const & pwszTargetFrameworkMoniker, bool ignoreVersionForFrameworkReferences);
public string ResolveAssemblyPath2 (string pwszAssemblySpec, string pwszTargetFrameworkMoniker, bool ignoreVersionForFrameworkReferences);
abstract member ResolveAssemblyPath2 : string * string * bool -> string
Public Function ResolveAssemblyPath2 (pwszAssemblySpec As String, pwszTargetFrameworkMoniker As String, ignoreVersionForFrameworkReferences As Boolean) As String

Parameters

pwszAssemblySpec
String

[in] The assembly specification that needs to be resolved. The assembly specification is either a path or an assembly name. If it is a path, the assembly name is loaded from the path.

pwszTargetFrameworkMoniker
String

[in] The target framework in which to resolve the assembly path.

ignoreVersionForFrameworkReferences
Boolean

[in] Specifies if the version is to be ignored when resolving framework references. If true, the version is ignored.

Returns

The assembly path. Returns null if the assembly does not belong in the given target framework.

Applies to