Export (0) Print
Expand All

ToolLocationHelper Methods

The ToolLocationHelper type exposes the following members.

  Name Description
Public method Static member ClearSDKStaticCache Clears the appDomain wide cache of platform and extension SDKs.
Public method Static member GetAssemblyFoldersExInfo Gets a sorted list of AssemblyFoldersExInfo objects which contain information about the directories in which the third party assemblies are registered. This information is used at build and design time.
Public method Static member GetDisplayNameForTargetFrameworkDirectory Creates a display name given the target framework details.
Public method Static member GetDotNetFrameworkRootRegistryKey Gets the full name of the .NET Framework root registry key.
Public method Static member GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion) Gets the name of the value under the GetDotNetFrameworkRootRegistryKey that contains the .NET Framework SDK installation path.
Public method Static member GetDotNetFrameworkSdkInstallKeyValue(TargetDotNetFrameworkVersion, VisualStudioVersion) Name of the value of GetDotNetFrameworkRootRegistryKey that contains the SDK install root path
Public method Static member GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion) Returns the full name of the .NET Framework SDK root registry key.
Public method Static member GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion, VisualStudioVersion) Returns the full name of the .NET Framework SDK root registry key
Public method Static member GetDotNetFrameworkVersionFolderPrefix Gets the prefix of the .NET Framework folder.
Public method Static member GetPathToDotNetFramework(TargetDotNetFrameworkVersion) Gets a fully qualified path to the .NET Framework root directory.
Public method Static member GetPathToDotNetFramework(TargetDotNetFrameworkVersion, DotNetFrameworkArchitecture) Gets a fully qualified path to the framework's root directory.
Public method Static member GetPathToDotNetFrameworkFile(String, TargetDotNetFrameworkVersion) Gets a fully qualified path to a file in the .NET Framework directory.
Public method Static member GetPathToDotNetFrameworkFile(String, TargetDotNetFrameworkVersion, DotNetFrameworkArchitecture) Gets a fully qualified path to a file in the frameworks root directory for the specified architecture.
Public method Static member GetPathToDotNetFrameworkReferenceAssemblies Returns the path to the reference assemblies location for the given framework version.
Public method Static member GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) Gets the fully qualified path to the \bin directory of the .NET Framework SDK.
Public method Static member GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion) Returns the path to the "bin" directory of the .NET Framework SDK.
Public method Static member GetPathToDotNetFrameworkSdkFile(String, TargetDotNetFrameworkVersion) Gets the fully qualified path to a file in the .NET Framework SDK.
Public method Static member GetPathToDotNetFrameworkSdkFile(String, TargetDotNetFrameworkVersion, DotNetFrameworkArchitecture) Gets a fully qualified path to a file in the .NET Framework SDK.
Public method Static member GetPathToDotNetFrameworkSdkFile(String, TargetDotNetFrameworkVersion, VisualStudioVersion) Get a fully qualified path to a file in the .NET Framework SDK. Error if the .NET Framework SDK can't be found.
Public method Static member GetPathToDotNetFrameworkSdkFile(String, TargetDotNetFrameworkVersion, VisualStudioVersion, DotNetFrameworkArchitecture) Get a fully qualified path to a file in the .NET Framework SDK. Error if the .NET Framework SDK can't be found.
Public method Static member GetPathToReferenceAssemblies(FrameworkName) Gets the paths to the reference assemblies location for the given target framework.
Public method Static member GetPathToReferenceAssemblies(String, FrameworkName) Gets the paths to the reference assemblies location for the given framework version relative to a given targetFrameworkRoot.
Public method Static member GetPathToReferenceAssemblies(String, String, String) Returns the paths to the reference assemblies location for the given target framework. This method will assume the requested ReferenceAssemblyRoot path will be the ProgramFiles directory specified by Environment.SpecialFolder.ProgramFiles In additon when the .NETFramework or .NET Framework targetFrameworkIdentifiers are seen and targetFrameworkVersion is 2.0, 3.0, 3.5 or 4.0 we will return the correctly chained reference assembly paths for the legacy .NET Framework versions. This chaining will use the existing GetPathToDotNetFrameworkReferenceAssemblies to build up the list of reference assembly paths.
Public method Static member GetPathToStandardLibraries(String, String, String) Returns the path to the reference assemblies location for the given target framework's standard libraries (i.e. mscorlib). This method will assume the requested ReferenceAssemblyRoot path will be the ProgramFiles directory specified by Environment.SpecialFolder.ProgramFiles In additon when the .NETFramework or .NET Framework targetFrameworkIdentifiers are seen and targetFrameworkVersion is 2.0, 3.0, 3.5 or 4.0 we will return the correctly chained reference assembly paths for the legacy .NET Framework versions. This chaining will use the existing GetPathToDotNetFrameworkReferenceAssemblies to build up the list of reference assembly paths.
Public method Static member GetPathToStandardLibraries(String, String, String, String) Returns the path to mscorlib and system.dll
Public method Static member GetPathToSystemFile Gets a fully qualified path to a file in the system directory.
Public method Static member GetPathToWindowsSdk Returns the path to the Windows SDK for the desired .NET Framework and Visual Studio version. Note that this is only supported for a targeted .NET Framework version of 4.5 and above.
Public method Static member GetPathToWindowsSdkFile(String, TargetDotNetFrameworkVersion, VisualStudioVersion) Returns the path to a file in the Windows SDK for the desired .NET Framework and Visual Studio version. Note that this is only supported for a targeted .NET Framework version of 4.5 and above.
Public method Static member GetPathToWindowsSdkFile(String, TargetDotNetFrameworkVersion, VisualStudioVersion, DotNetFrameworkArchitecture) Returns the path to a file in the Windows SDK for the desired .NET Framework and Visual Studio version and the desired architecture. Note that this is only supported for a targeted .NET Framework version of 4.5 and above.
Public method Static member GetPlatformExtensionSDKLocation(String, String, String) Given an SDK moniker and the targeted platform get the path to the SDK root if it exists.
Public method Static member GetPlatformExtensionSDKLocation(String, String, Version) Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X
Public method Static member GetPlatformExtensionSDKLocation(String, String, String, String, String) Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X
Public method Static member GetPlatformExtensionSDKLocation(String, String, Version, String[], String) Given an SDKName, targetPlatformIdentifier and TargetPlatformVersion search the default sdk locations for the passed in sdk name. The format of the sdk moniker is SDKName, Version=X.X
Public method Static member GetPlatformExtensionSDKLocations(String, Version) Get a list of SDK's installed on the machine for a given target platform
Public method Static member GetPlatformExtensionSDKLocations(String[], String, String, Version) Get a list of SDK's installed on the machine for a given target platform
Public method Static member GetPlatformSDKLocation(String, String) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.
Public method Static member GetPlatformSDKLocation(String, Version) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.
Public method Static member GetPlatformSDKLocation(String, String, String, String) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.
Public method Static member GetPlatformSDKLocation(String, Version, String[], String) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.
Public method Static member GetProgramFilesReferenceAssemblyRoot Gets the root location for the reference assembly directory under the program files directory.
Public method Static member GetSDKDesignTimeFolders(String) Get the list of SDK folders which contain the design-time files for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.
Public method Static member GetSDKDesignTimeFolders(String, String, String) Get the list of SDK folders which contain the design-time files for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.
Public method Static member GetSDKRedistFolders(String) Get the list of SDK folders which contain the redist files for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.
Public method Static member GetSDKRedistFolders(String, String, String) Get the list of SDK folders which contain the redist files for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.
Public method Static member GetSDKReferenceFolders(String) Get the list of SDK folders which contain the references for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.
Public method Static member GetSDKReferenceFolders(String, String, String) Get the list of SDK folders which contain the references for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.
Public method Static member GetSupportedTargetFrameworks Gets a list of supported target framework monikers.
Public method Static member GetTargetPlatformSdks() Get a list of target platform SDKs on the machine.
Public method Static member GetTargetPlatformSdks(String[], String) Get a list of target platform SDKs on the machine.
Public method Static member HighestVersionOfTargetFrameworkIdentifier Gets the highest version of a target framework moniker based on the identifier.
Top
Show:
© 2014 Microsoft