in src/VSSetup.PowerShell/Utilities.cs [60:78]
public static bool TryParseVersion(string input, out Version result)
{
if (string.IsNullOrEmpty(input))
{
result = null;
return false;
}
try
{
result = new Version(input);
return true;
}
catch
{
result = null;
return false;
}
}