Visual Studio 2008: Don't deploy SQL Server Compact 3.5 when debugging

Posted by Thorsten Dittmar on Stack Overflow See other posts from Stack Overflow or by Thorsten Dittmar
Published on 2010-03-08T08:33:38Z Indexed on 2010/03/08 8:36 UTC
Read the original article Hit count: 680


I'm using VS2008 to create a Compact Framework application for a Windows CE 5.0 device (Datalogic Kyman). I'm using SQL Server Compact 3.5 in my application. However, I'm debugging on a Kyman that still has Windows CE 4.2 installed (attached via USB using Mobile Device Center). My problem:

VS2008 does not recognize that SQL Server Compact is already installed on the device and asks me to install SQL Server Compact every time I'm running my application from the IDE. The installer shows me a warning about the SQL Server Compact CAB file not being suitable for this device, but installation works without errors, also the application works without errors.

I've unchecked the box "Always deploy latest .NET version" (don't know what it's called in English exactly, using German VS2008), but that doesn't help.

How can I tell Visual Studio not to install the SQL Server before launching my application every time?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about windows-ce