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

会有一股神秘感。 提交于 2019-12-08 18:48:27

问题


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?


回答1:


SQL Server Compact 3.5 Support WindowsCE 4.2

1- Check if target Device is Windows CE?

2- Try to install SQL Server Compact 3.5 on the device by using the cab file specified to windows CE 4.2.

you will find the cap file in the following path:

C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices\wce400\armv4\sqlce.dev.ENU.ppc.wce4.armv4.CAB



来源:https://stackoverflow.com/questions/2400067/visual-studio-2008-dont-deploy-sql-server-compact-3-5-when-debugging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!