IVsFrameworkMultiTargeting::CheckFrameworkCompatibility Method (String^, String^, UInt32)
Visual Studio 2015
Takes two target frameworks and compares them for compatibility.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int CheckFrameworkCompatibility( String^ pwszTargetFrameworkMonikerSource, String^ pwszTargetFrameworkMonikerTarget, [OutAttribute] unsigned int% pdwCompat )
Parameters
- pwszTargetFrameworkMonikerSource
-
Type:
System::String^
[in] The source target framework to compare.
- pwszTargetFrameworkMonikerTarget
-
Type:
System::String^
[in] The second target framework to compare.
- pdwCompat
-
Type:
System::UInt32
[out, retval] The result of the comparison. Returns VSFRAMEWORKCOMPATIBILITY_COMPATIBLE (0) to mean compatible. Otherwise it sets the bits to indicate the target framework moniker components that are incompatible, as described in the __VSFRAMEWORKCOMPATIBILITY enumeration.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: