IVsFrameworkMultiTargeting2::ResolveAssemblyPath2 Method (String^, String^, Boolean)
Visual Studio 2015
Resolves the assembly path in the given target framework.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
String^ ResolveAssemblyPath2(
String^ pwszAssemblySpec,
String^ pwszTargetFrameworkMoniker,
bool ignoreVersionForFrameworkReferences
)
Parameters
- pwszAssemblySpec
-
Type:
System::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
-
Type:
System::String^
[in] The target framework in which to resolve the assembly path.
- ignoreVersionForFrameworkReferences
-
Type:
System::Boolean
[in] Specifies if the version is to be ignored when resolving framework references. If true, the version is ignored.
Return Value
Type: System::String^The assembly path. Returns null if the assembly does not belong in the given target framework.
Show: