IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves the assembly paths in the target .NET Framework.
public:
int ResolveAssemblyPathInTargetFx(cli::array <System::String ^> ^ prgAssemblySpecs, System::UInt32 cAssembliesToResolve, cli::array <Microsoft::VisualStudio::Shell::Interop::VsResolvedAssemblyPath> ^ prgResolvedAssemblyPaths, [Runtime::InteropServices::Out] System::UInt32 % pcResolvedAssemblyPaths);
int ResolveAssemblyPathInTargetFx(std::Array <std::wstring const &> const & prgAssemblySpecs, unsigned int cAssembliesToResolve, std::Array <Microsoft::VisualStudio::Shell::Interop::VsResolvedAssemblyPath> const & prgResolvedAssemblyPaths, [Runtime::InteropServices::Out] unsigned int & pcResolvedAssemblyPaths);
public int ResolveAssemblyPathInTargetFx (string[] prgAssemblySpecs, uint cAssembliesToResolve, Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[] prgResolvedAssemblyPaths, out uint pcResolvedAssemblyPaths);
abstract member ResolveAssemblyPathInTargetFx : string[] * uint32 * Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[] * uint32 -> int
Public Function ResolveAssemblyPathInTargetFx (prgAssemblySpecs As String(), cAssembliesToResolve As UInteger, prgResolvedAssemblyPaths As VsResolvedAssemblyPath(), ByRef pcResolvedAssemblyPaths As UInteger) As Integer
Parameters
- prgAssemblySpecs
- String[]
The list of assembly names that need to be resolved.
- cAssembliesToResolve
- UInt32
The number of assembly names passed in prgAssemblySpecs
.
- prgResolvedAssemblyPaths
- VsResolvedAssemblyPath[]
[in, out] The resolved assembly reference paths. The caller needs to pre-allocate this array for the number of assemblies to resolve (cAssembliesToResolve
).
- pcResolvedAssemblyPaths
- UInt32
The number of resolved assembly paths.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.