public void ApplicationPath_FileExists() { var installedVersions = InstalledVersionUtilities.GetInstalledVersions(); foreach (var installedVersion in installedVersions) { FileAssert.Exists(installedVersion.ApplicationPath); } }
public void Products() { var installedVersions = InstalledVersionUtilities.GetInstalledVersions(); installedVersions = installedVersions.Where(iv => iv.VsVersion == VsVersion.Vs2017); foreach (var installedVersion in installedVersions) { Assert.That(installedVersion.Product, Is.Not.Null); Assert.That(installedVersion.Product, Does.Not.Contain(".")); } }
static IEnumerable <InstalledVersion> GetInstalledVersions() => InstalledVersionUtilities.GetInstalledVersions();