Exemplo n.º 1
0
        private static void PrepareExportDirectory(string path)
        {
#if !NET_CORE
            if (!RunetimeUtils.IsRunningOnMono)
            {
                string directory = Directory.GetCurrentDirectory();
                CheckWritePermission(directory);
            }
#endif

            if (DirectoryUtils.Exists(path))
            {
                DirectoryUtils.Delete(path, true);
            }
        }