sql server Compact 3.5和智能设备项目的问题

发布于 2024-09-07 07:51:58 字数 217 浏览 2 评论 0 原文

最近我从微软网站下载了SQLServer Compact 3.5,并且已经安装了Visual Studio 2008。 当我创建一个新的智能设备项目并尝试将某些数据集连接到本地数据库时,出现以下错误: “错误 1 ​​自定义工具错误:此操作需要引用 SQL Server Compact 3.5。该项目引用了不同版本。更新引用并重试。”

我尝试重新安装 Visual Studio 2008,但没有成功。

Recently i downloaded SQLServer Compact 3.5 from Microsoft web site, and i have already installed Visual Studio 2008.
When i make a new Smart Device project and try to connect some Dataset to local database, the following error rises :
"Error 1 Custom tool error: This operation requires a reference to SQL Server Compact 3.5. The project has a reference to a different version. Update the reference and try again."

i tried reinstalling Visual Studio 2008, but it did not work.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

绅士风度i 2024-09-14 07:51:58

将 SQL Server Compact 3.5 更新到 SP2 后,我遇到了同样的问题。

解决方案是卸载SP2并安装不带Service Pack的版本,并在项目中重新添加对SQL CE的引用

I had the same problem after update SQL server compact 3.5 to SP2.

The solution is to uninstall SP2 and install version without Service Pack and re-add the reference to SQL CE in project

ぃ弥猫深巷。 2024-09-14 07:51:58

我遇到了同样的问题,这个问题发生在 SQL Compact service pack2 上,但是您可以使用 SP1 并使用代码来操作数据库。问题已经解决了。

I had same problem, This problem is happen with SQL Compact service pack2, but you can use SP1 and use code to manipulate your database. It had been solved.

烂柯人 2024-09-14 07:51:58

删除现有项目对 SQL CE 的引用,关闭项目,重新打开项目并重新添加引用。

Delete the existing project reference to SQL CE, close the project, re-open the project and re-add the reference.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文