开发者

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

开发者 https://www.devze.com 2022-12-22 01:05 出处:网络
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

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开发者_如何学C 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消