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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s