docs.microsoft.com Directory.Delete(String) では、サブディレクトリやファイルがある場合に削除ができません。 再帰削除のメソッドのためのDirectory.Delete(String.Boolean)を指定すればOKです。 実は、これがあるのを知らなかったので、自分で実装しよ…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.