ToolLocationHelper.GetFoldersInVSInstallsAsString 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.
Returns folders in VS installs of specified range of versions (starting with 15.0) separated by ';'.
public static string GetFoldersInVSInstallsAsString (string minVersionString = default, string maxVersionString = default, string subFolder = default);
static member GetFoldersInVSInstallsAsString : string * string * string -> string
Public Shared Function GetFoldersInVSInstallsAsString (Optional minVersionString As String = Nothing, Optional maxVersionString As String = Nothing, Optional subFolder As String = Nothing) As String
Parameters
- minVersionString
- String
Optional. If specified, only VS instances with this or bigger version will be included.
- maxVersionString
- String
Optional. If specified, only VS instances with smaller versions will be included. For instance, 16.0 means that only 15.* versions will be included.
- subFolder
- String
Optional. If specified, the returned list will contain [VSInstallDir][subFolder] paths
Returns
Returns folders in VS installs in VS version descending order separated by ';'