命名空间“的SharePoint'不命名空间中存在'微软' [英] Namespace 'SharePoint' does not exist in the namespace 'Microsoft'

查看:346
本文介绍了命名空间“的SharePoint'不命名空间中存在'微软'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我开始学习C#,就像字面上刚刚开始学习,并从一个Java背景的,它看起来并不太坏。不过,我有一个问题。我下面使用本教程客户对象模型。而刚刚从顶部开始,我添加了引用,但使用Microsoft.SharePoint.Client; 一直给我说:命名空间的SharePoint不存在的错误命名空间'微软',但我清楚地看到它的右侧面板上,所以看说明书,我能想到的唯一的区别是事实,我使用的Visual Studio Express的,因此不必选择哪个框架选项创建新项目时使用。除此之外,我不知道这个问题可能是什么。没有人有还有什么我可能会丢失或如何解决这个问题呢?

So I am starting to learn C#, like literally just started learning, and coming from a Java background, it doesn't look too bad. However, I have a question. I am following THIS tutorial on using the client-object model. And just starting from the top, I added the references, but using Microsoft.SharePoint.Client; keeps giving me the error that "the namespace 'SharePoint' does not exist in the namespace 'Microsoft', but I clearly see it on the right side panel. So looking at the instructions, the only difference I can think of is that fact that I am using Visual Studio Express and thus do not have the option to choose which framework to use when creating a new project. Other than that, I don't know what the problem might be. Does anyone have any ideas on what else I could be missing or how to correct this problem?

推荐答案

你引用添加到 Microsoft.SharePoint.Client 组装和 Microsoft.SharePoint.Client.Runtime 组合件的指出接近这个教程的开始?

Did you add the references to the Microsoft.SharePoint.Client assembly and Microsoft.SharePoint.Client.Runtime assembly as noted near the beginning of that tutorial?

这篇关于命名空间“的SharePoint'不命名空间中存在'微软'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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