title: Sharing violation when attempting to delete a file in c# script
body: <p>I have a very simple piece of code, It should work by detecting if a file exists and if so then delete the file. However when I run the code in the unity editor I get the following error: IOException: Sharing violation on path Assets\Plugins\Rooms Table.db</p>
  
  <p>here is my code:</p>
  
  <pre><code>    if(System.IO.File.Exists(@"Assets\Plugins\Rooms Table.db"))
      {
      System.IO.File.Delete(@"Assets\Plugins\Rooms Table.db");
      }
  </code></pre>