Reputation: 10174
I want to create a project that needs Database but I dont want any db server have to be installed on both developer computer and clients.
How can I achieve this, which is the best way to do so?
Upvotes: 6
Views: 9218
Reputation: 114481
Instead of LocalDB, use SQL Server Compact Edition. You can "bin deploy" that. Just set the references to copy local and it can run without installing anything.
See also:
You can download the binaries from the Microsoft Download site. And here is an explanation on how to create a .sdf
file. And the SQL Server CE Toolbox is a set of add-ons for Visual Studio that helps you manage SQL Server CE database.
Upvotes: 1