I have SQL Server 2014 installed and want to use localdb\v12.0
in Visual Studio. I found this post and understand how to connect to localdb using SQL Server Object Explorer successfully. Now I have created a LightSwitch project in Visual Studio 2013 and when building it throws exception:
An error occured while establishing a connection to SQL Server instance '(LocalDB)\v11.0'.
Seems it is looking for SQL Server 2012 to create the development database in Bin\Data and I don't have SQL Server 2012 so there is no localdb\v11.0
on the system. So
Why does VS 2013 try to use
localdb\v11.0
?How can I force Visual Studio to use
localdb\v12.0
when building the project?
I tried changing the _IntrinsicData connection string in web.config
but when building again it throws the same exception trying to use localdb\v11.0
which belongs to SQL Server 2012!