How to build a setup package for a desktop application using SQL CE 3.5 and Entity Framework?
Posted
by Emad
on Stack Overflow
See other posts from Stack Overflow
or by Emad
Published on 2009-08-08T22:16:09Z
Indexed on
2010/04/27
3:33 UTC
Read the original article
Hit count: 340
I am having a WPF desktop application that uses SQL CE (compact edition 3.5 ) and using the Entity Framework as a Datalayer.
As It turned out in (http://support.microsoft.com/default.aspx?scid=kb;en-us;958478&sd=rss&spid=2855 ) and (http://social.msdn.microsoft.com/Forums/en-US/sqlce/thread/b6bac277-cf66-4c74-a0b3-e48abedbd161/ )
There Is some problem with the Entity Framework and SQL CE and I had to get the hotfix (basically a new build of the SQL CE called 3.5.1)
My problem now is how to build a setup package in order to make it work in case some users already had the SQL CE 3.5 installed on their machines?
I have included the DLLs directly in the application but when the sql ce is installed, its DLLs are in the GAC and have precedence over the local ones and the application crashes.
I need the build a setup that would work "even if" the user already had the old buggy version.
© Stack Overflow or respective owner