title: Error in update-database command in code first migration
body: <p>I am working on Desktop application in WPF and creating SqlRepository with <strong>LocalDB</strong> to store data.  I am using following tools</p>
  
  <ul>
  <li>Visual Studio 2013 Community with update 2</li>
  <li>Entity Framework 6.1.2 for Code first migration</li>
  </ul>
  
  <p>I have created local database with Microsoft SQL Server Database File (SqlClient) configuration. Database created successfully and below is connection string fetched from Sql</p>
  
  <pre><code>Data Source=(LocalDB)\v11.0;Initial Catalog=D:\USERS\USERNAME\DOCUMENTS\TestDatabase\testdb.MDF;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False
  </code></pre>
  
  <p>I am using same connection string in app.config.  I can view database object in SQL Server Database explorer in Visual Studio.  But when run update-database command in Nuget package manager console, I am getting below error:</p>
  
  <blockquote>
    <p>A network-related or instance-specific error occurred while
    establishing a connection to SQL Server. The server was not found or
    was not accessible. Verify that the instance name is correct and that
    SQL Server is configured to allow remote connections. (provider: SQL
    Network Interfaces, error: 26 - Error Locating Server/Instance
    Specified)</p>
  </blockquote>