Iveは、Microsoft.SharePoint.Clientを使用して追加しました。UserCollection?カントはDLLを見つける
まだエラーが発生していますが、ダウンロードする必要があるDLLですか?
The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Iveは、Microsoft.SharePoint.Clientを使用して追加しました。UserCollection?カントはDLLを見つける
まだエラーが発生していますが、ダウンロードする必要があるDLLですか?
The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
(are you missing an assembly reference?)
重要な部分です:
これは誤りです。名前空間にusing
ステートメントを追加したが、アセンブリ参照を追加したとしますか?
まず、DLLが必要です。次に、プロジェクトの「References」セクション(Solution Explorerウィンドウ)を右クリックし、「Add Reference」をクリックしてDLLを参照します。それを追加すると、行くように設定する必要があります。
参照を.dllに追加するという意味ですか?右クリックして "参照を追加"することで?もし私がhavent、私はそこにMicrosoft.SharePoint.Client.dllを見つけることができませんでした – user1213488
@ user1213488:はい。アセンブリ自体への参照を追加するまで、コードにアクセスすることはできません。正しいDLLを見つける必要があります。単にSomeNameSpaceを使用するだけでは不十分です(あなたのプロジェクトはどのようにコードを見つけることができますか?) –
同様の質問ですが、正確には同じではありませんhttp://stackoverflow.com/questions/1333855/sharepoint-how-to-add-a-reference-from-c-sharp and http://stackoverflow.com/質問/ 590346/reference-library-find-the-reference-the-reference-the-reference-the-reference-the-reference-the-reference-library-を見つけることができます – Tremmors