Mount MDF in Visual Studio

  1. Open Visual Studio as Administrator
  2. From the server explorer, or the Tools menu, Connect to Database
  3. Server name is (localdb)\v11.0
  4. Choose ‘Attach a database file:’ and click Browse
  5. Select and open the MDF file you want to attach
Advertisements