public void CheckCurrentVisualStudioMyDocumentsFolder() { string myVisualStudioDirectory = Path.Combine(myDocumentsDirectory, LatestVisualStudioName); Assert.AreEqual(myVisualStudioDirectory, MyDocumentsExtensions.GetSupportedVisualStudioFolders()[0]); }
public void LogAvailableMyDocumentsFoldersForVisualStudio() { new ConsoleLogger(); foreach (var supportedVsFolder in MyDocumentsExtensions.GetSupportedVisualStudioFolders()) { if (Directory.Exists(supportedVsFolder)) { Logger.Info(supportedVsFolder + " exists"); } else { Logger.Info(supportedVsFolder + " does not exist"); } } }