c# - Deploy application without install SQL Server CE error -


i'm trying deploy desktop application (wpf) uses external .dll defines logical model. in external library model defined using entityframework. in wpf application use sql server ce database using app.config info:

<connectionstrings>    <add name="somemanager"          connectionstring="data source=database/somedatabase-20130220200325.sdf"          providername="system.data.sqlserverce.4.0"/> </connectionstrings> 

i want final client doesn't need install sql server ce in machine, want include libraries ce libraries finall folder. know possible due in msdn give solution it. copying 7 files of sql server ce 4 on finall folder, , system.data.sqlserverce.dll file. this, reason application still trying libraries system, , not local application folder, when run app in machine without sql server ce 4 installed, doesn't runs.

what fix problem, appreciate ideas. thanks...

you can include sql server compact binaries application, , xcopy deploy them, detailed inctructions see blogpost here: http://erikej.blogspot.dk/2011/02/using-sql-server-compact-40-with.html


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -