<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kan_kikuchi</author_name>
  <author_url>https://blog.hatena.ne.jp/kan_kikuchi/</author_url>
  <blog_title>(:3[kanのメモ帳]</blog_title>
  <blog_url>https://kan-kikuchi.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>はじめに C#でディレクトリを削除する時は以下のようにします。 //System.IOを忘れずに using System.IO; //Assetsディレクトリ以下にあるTestディレクトリを削除 Directory.Delete(&quot;Assets/Test&quot;); しかし、ディレクトリ内にファイルが残っていると、IOException: Directory Assets/Test is not emptyとエラーが出て削除できません。 なので今回はディレクトリとその中身を全て削除する方法についての記事です。ついでに専用のメソッドが用意されていないディレクトリのコピーについても記載します。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkan-kikuchi.hatenablog.com%2Fentry%2FDirectoryProcessor&quot; title=&quot;ディレクトリとその中身を全て削除、ディレクトリをコピー【C#】 - (:3[kanのメモ帳]&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn.mogile.archive.st-hatena.com/v1/image/kan_kikuchi/297789263919372451.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-06 08:14:48</published>
  <title>ディレクトリとその中身を全て削除、ディレクトリをコピー【C#】</title>
  <type>rich</type>
  <url>https://kan-kikuchi.hatenablog.com/entry/DirectoryProcessor</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
