How to change the default connection to a server in Visual studio 2012 SQL Project?

localdb, sql-server, visual-studio-2012

Solution

Check the properties of your database project. Under Debug tab, there's option "Target Connection String". Change that to the server and database you want to use.

Problem

In visual studio 2012 sqlproj, the default connection button always connect to the (localdb)\Projects by default. How do I change that? Every time I need to disconnect and connect again to change the server.

Original source