How to install LocalDB 2016 along with Visual Studio 2017?

Rudey picture Rudey · Mar 13, 2017 · Viewed 40.1k times · Source

After installing Visual Studio 2017 with the SQL Server Data tools feature checked, I noticed LocalDB was not installed. How can I add SQL Server LocalDB 2016 to my Visual Studio 2017 installation? Did I miss a checkbox when installing VS2017, or is it simply not included with the installer? If so, how do I configure VS2017 so I can view and connect to my manually installed LocalDB database in Visual Studio's server browser?

Answer

pinowthebird picture pinowthebird · Mar 16, 2017

It's automatically installed if .NET Desktop Development is checked. You can check it in the Summary. Visual Studio 2017 installation wizard