Location Helper. Get Assembly Folders ExInfo(String, String, String, String, String, ProcessorArchitecture) Method
Gets a sorted list of AssemblyFoldersExInfo objects that contain information about the directories in which the third party assemblies are registered. This information is used at build and design time.
public: static System::Collections::Generic::IList<Microsoft::Build::Utilities::AssemblyFoldersExInfo ^> ^ GetAssemblyFoldersExInfo(System::String ^ registryRoot, System::String ^ targetFrameworkVersion, System::String ^ registryKeySuffix, System::String ^ osVersion, System::String ^ platform, System::Reflection::ProcessorArchitecture targetProcessorArchitecture);
public static System.Collections.Generic.IList<Microsoft.Build.Utilities.AssemblyFoldersExInfo> GetAssemblyFoldersExInfo (string registryRoot, string targetFrameworkVersion, string registryKeySuffix, string osVersion, string platform, System.Reflection.ProcessorArchitecture targetProcessorArchitecture);
static member GetAssemblyFoldersExInfo : string * string * string * string * string * System.Reflection.ProcessorArchitecture -> System.Collections.Generic.IList<Microsoft.Build.Utilities.AssemblyFoldersExInfo>
Public Shared Function GetAssemblyFoldersExInfo (registryRoot As String, targetFrameworkVersion As String, registryKeySuffix As String, osVersion As String, platform As String, targetProcessorArchitecture As ProcessorArchitecture) As IList(Of AssemblyFoldersExInfo)
The root registry location for the targeted framework. For .NET this is SOFTWARE\MICROSOFT\.NETFramework.
The target framework version (2.0, 3.0, 3.5, 4.0, etc.).
The name of the folder, (AssemblyFoldersEx) could also be PocketPC\AssemblyFoldersEx, or others.
The targeted minimum and maximum OS versions in the registry. These values are used to return only directories for OS versions between the declared minimum and maximum. If this value is blank or null, no filtering is done.
The targeted platform GUIDs. Used to return only directories which have a matching platform GUID. If this value is blank or null no filtering is done.
The targeted processor architecture. This determines which registry hives are searched and in which order.
This method enumerates the
AssemblyFoldersEx registry location and returns the list of
AssemblyFoldersExInfo in the same order that they are searched for reference assemblies at design and build time.
On a 64-bit operating system, if targeting 64-bit, add in the 64-bit hive then the 32-bit hive; if targeting 32-bit, add in the 32-bit hive then the 64-bit hive. On 32-bit machine only add in the 32-bit hive.