I want to create a project that needs a database, but I do not want any db server to be installed both on the developer's computer and on the clients.
How can I achieve this, and is this the best way to do this?
Use SQL Server Compact Edition instead of LocalDB. You can expand it. Just set the links for copying locally, and it can work without installing anything.
See also:
You can download binary files from the Microsoft Download site . And here is a description of how to create a .sdf file . And the SQL Server CE Toolbox is a set of add-ins for Visual Studio that helps you manage your SQL Server CE database .
.sdf