Visual Studio 2008:调试时不要部署 SQL Server Compact 3.5 [英] Visual Studio 2008: Don't deploy SQL Server Compact 3.5 when debugging

查看:37
本文介绍了Visual Studio 2008:调试时不要部署 SQL Server Compact 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS2008 为 Windows CE 5.0 设备 (Datalogic Kyman) 创建 Compact Framework 应用程序.我在我的应用程序中使用 SQL Server Compact 3.5.但是,我在仍然安装了 Windows CE 4.2(使用移动设备中心通过 USB 连接)的 Kyman 上进行调试.我的问题:

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 无法识别设备上已安装 SQL Server Compact,并要求我安装 SQL Server Compact 每次我从 IDE 运行我的应用程序.安装程序向我显示 SQL Server Compact CAB 文件不适合此设备的警告,但安装没有错误,应用程序也没有错误.

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.

我已取消选中始终部署最新的 .NET 版本"框(不知道它在英语中的确切名称,使用德语 VS2008),但这无济于事.

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.

如何在每次启动我的应用程序之前告诉 Visual Studio 不要安装 SQL Server?

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

推荐答案

SQL Server Compact 3.5 支持 WindowsCE 4.2

1- 检查目标设备是否为 Windows CE?

1- Check if target Device is Windows CE?

2- 尝试使用为 Windows CE 4.2 指定的 cab 文件在设备上安装 SQL Server Compact 3.5.

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

您将在以下路径中找到 cap 文件:

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

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

这篇关于Visual Studio 2008:调试时不要部署 SQL Server Compact 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆