IVsFrameworkMultiTargeting::ResolveAssemblyPathsInTargetFx Method (String^, Array^, UInt32, array<VsResolvedAssemblyPath>^, UInt32)
Visual Studio 2015
Resolves the assembly reference paths for the passed in assemblies in the specified target framework.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int ResolveAssemblyPathsInTargetFx( String^ pwszTargetFrameworkMoniker, Array^ prgAssemblySpecs, unsigned int cAssembliesToResolve, array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths, [OutAttribute] unsigned int% pcResolvedAssemblyPaths )
Parameters
- pwszTargetFrameworkMoniker
-
Type:
System::String^
[in] The monikor of the target framework in which to resolve the assemblies.
- prgAssemblySpecs
-
Type:
System::Array^
[in, size_is(cAssembliesToResolve)] The list of assembly specifications that need to be resolved.
- cAssembliesToResolve
-
Type:
System::UInt32
[in] Number of assembly specifications passed in prgAssemblySpecs.
- prgResolvedAssemblyPaths
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VsResolvedAssemblyPath>^
[in, out, size_is(cAssembliesToResolve)] An array containing the resolved assembly reference paths. The caller of this method must pre-allocate this array for cAssembliesToResolve elements
- pcResolvedAssemblyPaths
-
Type:
System::UInt32
[out] Number of resolved assembly paths in the prgResolvedAssemblyPaths output array.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: