public static void DeleteSourceDirectory() { var sourcePath = SourcePath(); if (Directory.Exists(sourcePath)) Directory.Delete(sourcePath, true); }