类型或名称空间名称"SqlServer"在名称空间"Microsoft.Synchronization.Data"中不存在 [英] The type or namespace name 'SqlServer' does not exist in the namespace 'Microsoft.Synchronization.Data'

查看:72
本文介绍了类型或名称空间名称"SqlServer"在名称空间"Microsoft.Synchronization.Data"中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我遇到的一个奇怪问题,我已经从Microosfts网站下载了WebSharingAppDemo示例,但是当我尝试在Visual Studio 2008中进行编译时,出现以下错误:

This is a strange problem I'm having, I've downloaded the WebSharingAppDemo sample from Microosfts website but when I try to compile it in Visual Studio 2008 I get the following error:

名称空间中不存在类型或名称空间名称'SqlServer'"Microsoft.Synchronization.Data"

The type or namespace name 'SqlServer' does not exist in the namespace 'Microsoft.Synchronization.Data'

当尝试使用Microsoft.Synchronizaqtion.Data.SqlServer时.

When attempting to use the Microsoft.Synchronizaqtion.Data.SqlServer.

任何想法可能是什么原因造成的?

Any ideas what might be causing this?

推荐答案

您可能需要添加对 Microsoft.Synchronization.Data.SqlServer

右键单击项目
选择添加引用...
.NET 选项卡

Right-Click project
Choose Add Reference...
Find and add Microsoft.Synchronization.Data.SqlServer under the .NET tab

如果在列表中找不到它,则可能需要安装 Microsoft Sync Framework :

If you can't find it in the list, you may need to install the Microsoft Sync Framework:

http://www.microsoft.com/下载/en/details.aspx?displaylang=en&id=23217

和/或 SQL Server 2008 Express :

http://www.microsoft.com/download/en/details.aspx?id = 1695

这篇关于类型或名称空间名称"SqlServer"在名称空间"Microsoft.Synchronization.Data"中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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