title: Cannot create file because it already exists. Change the file path or the file name, and retry the operation
body: <p>I created an asp.net mvc website with a code first database. I enabled database migration through the PM Console. I uploaded the website and database on to a server for online testing. I now want to do additional testing on my desktop so I downloaded the existing databases and placed them in the <strong>App_Data</strong> file.</p>
  <p>Using the PM Console, I run the <code>Update-Database</code> command and the response is as follows:</p>
  <blockquote>
  <p>PM&gt; Update-Database</p>
  <p>Specify the '-Verbose' flag to view the SQL
  statements being applied to the target database. No pending explicit
  migrations. Running Seed method.</p>
  </blockquote>
  <p>I suspect that the database's schema is recognized as unchanged.</p>
  <p>However, when I go to debug the website using localhost, after entering in username and password, I get the following error:</p>
  <blockquote>
  <p>Cannot create file 'C:\Users\XXXX\OneDrive\Visual Studio
  2017\Projects\Testing\XXXXXX\Version
  2.4\XXXXXX\App_Data\DB_9AEA79_data.mdf' because it already exists. Change the file path or the file name, and retry the operation. CREATE
  DATABASE failed. Some file names listed could not be created. Check
  related errors.</p>
  </blockquote>
  <p>I can't figure out why VS wants to re-create a database I've placed in the <strong>App_Data</strong> folder.</p>
  <p>Any help would be greatly appreciated.</p>