I heard that SQL Database Compact Edition consists of a set of dll's. I've browsed MSDN site but I could only find using the .msi installers. Since my C# application is deployed in a archieve file without installer, can I just deploy SQL CE by adding dll files (assemblies) instead of using the .msi file? Just deploying "System.Data.SqlServerCe.dll" is enough? What files should I deploy with my application, if I want to use SQL CE with my application?
RealCat, Yes you can deploy only the SQL Compact DLLs needed by your application. You do need more than just System.Data.SqlServerCe.dll however. At a minimum you'll need several more including sqlceme35.dll, sqlceqp35.dll and sqlcese35.dll, assuming you're using SQL Compact 3.5. You may find you need additional sqlceXX35.dlls depending on what features you're using. Ginny Caughey Device Application Development MVP "RealCat" wrote in message news:35b4536e-d54b-4840-8341-260a0d8399df@u6g2000prc.googlegroups.com... >I heard that SQL Database Compact Edition consists of a set of dll's. > I've browsed MSDN site but I could only find using the .msi > installers. Since my C# application is deployed in a archieve file > without installer, can I just deploy SQL CE by adding dll files > (assemblies) instead of using the .msi file? > > Just deploying "System.Data.SqlServerCe.dll" is enough? What files > should I deploy with my application, if I want to use SQL CE with my > application?
You may find this article helpful: http://msdn.microsoft.com/en-us/library/bb219481.aspx -- Erik Ejlskov Jensen - MCTS: Mobile App Dev "RealCat" wrote: > I heard that SQL Database Compact Edition consists of a set of dll's. > I've browsed MSDN site but I could only find using the .msi > installers. Since my C# application is deployed in a archieve file > without installer, can I just deploy SQL CE by adding dll files > (assemblies) instead of using the .msi file? > > Just deploying "System.Data.SqlServerCe.dll" is enough? What files > should I deploy with my application, if I want to use SQL CE with my > application? >