IDesignTimeAssemblyLoader::GetTargetAssemblyPath Method (AssemblyName^, String^, FrameworkName^)
.NET Framework (current version)
Determines the load path for the specified assembly in the target framework.
Assembly: System.Design (in System.Design.dll)
String^ GetTargetAssemblyPath( AssemblyName^ runtimeOrTargetAssemblyName, String^ suggestedAssemblyPath, FrameworkName^ targetFramework )
Parameters
- runtimeOrTargetAssemblyName
-
Type:
System.Reflection::AssemblyName^
The full assembly name for the runtime or target assembly.
- suggestedAssemblyPath
-
Type:
System::String^
The suggested path from which to load the assembly.
- targetFramework
-
Type:
System.Runtime.Versioning::FrameworkName^
The target framework for the designer.
Return Value
Type: System::String^The actual load path for the assembly, or null if the assembly is not loadable.
Gives the designer an opportunity to resolve assemblies that are not project references and that are not part of the .NET Framework redistribution. Also allows the designer to alter paths to prevent any runtime assemblies from being locked.
.NET Framework
Available since 4.0
Available since 4.0
Show: