public static void EnsureEmptyDirectory(string dirName) { if (Directory.Exists(dirName)) { Shared.DirectoryDeleteInside(dirName); } Directory.CreateDirectory(dirName); }
public static void EnsureEmptyDirectory(string dirName) { if (Directory.Exists(dirName)) { Shared.DirectoryDeleteInside(dirName); } Directory.CreateDirectory(dirName); }