sql server Compact 3.5和智能设备项目的问题
最近我从微软网站下载了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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将 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
我遇到了同样的问题,这个问题发生在 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.
删除现有项目对 SQL CE 的引用,关闭项目,重新打开项目并重新添加引用。
Delete the existing project reference to SQL CE, close the project, re-open the project and re-add the reference.