title: SSDT: How to deploy to a specific LOCALDB file?
body: <p>In order to implement run and re-run my integration tests an indefinite number of times, I would like to make use of SSDT in VS2012 to publish to a LOCALDB file instance and run EF against that file during integration tests.</p>
  
  <p>Few notes:</p>
  
  <ul>
  <li>We are using EF Database first</li>
  <li>We already have a SSDT project that we will use to deploy to a full
  database in our different environments</li>
  <li>I know that SSDT uses internally a LOCALDB instance to build/deploy/check for errors, so deploying to another custom localdb seems like it should make sense/be doable</li>
  </ul>
  
  <p>Few questions:</p>
  
  <ol>
  <li>Can I deploy to a specific LOCALDB file with SSDT?</li>
  <li>Can I do this from the command line in order to automate it when I run integration tests?</li>
  <li>Does this roughly seems like a good idea for integration tests with EF or is there a better way? ;-)</li>
  </ol>
  
  <p>Thank you all</p>