Microsoft.SharePoint dll在哪里? [英] Where is Microsoft.SharePoint dll?
问题描述
我浏览过显示如何添加对Microsoft.SharePoint的引用的MSDN帖子。
I've browsed the MSDN posts that show how to add a reference to Microsoft.SharePoint.
我正在运行Visual Studio 2010 Professional。 当我查看帮助/关于时,它列出了Microsoft Visual C#2010(0108-532-2002181-70703)和Microsoft Visual Studio 2010 SharePoint开发人员工具(10.0.30319)。
I'm running Visual Studio 2010 Professional. When I check Help/About, it lists Microsoft Visual C# 2010 (0108-532-2002181-70703), and Microsoft Visual Studio 2010 SharePoint Developer Tools (10.0.30319).
我'我试图将它与ASP.NET Web应用程序(Visual C#Web,.NET Framework 4)集成,但当我尝试添加引用时,我似乎无法在.NET列表中找到Microsoft.SharePoint.dll;当我浏览到C:\Program Files \Common Files \ Micropros Shared\,
我没有看到我希望看到的其余文件结构(Web Server Extensions \\\\ \ Microsoft.SharePoint.dll)。
I'm trying to integrate this with an ASP.NET Web Application (Visual C# Web, .NET Framework 4), but I can't seem to find Microsoft.SharePoint.dll in the .NET list when I try to add a reference; when I browse to C:\Program Files\Common Files\Microsoft Shared\, I don't see the rest of the file structure I expect to see (Web Server Extensions\14\SAPI\Microsoft.SharePoint.dll).
最后,在硬盘上搜索Microsoft.Share *。*不会产生任何结果。
Finally, searching the hard drive for Microsoft.Share*.* yields no results.
我是否需要创建一个空的SharePoint项目,并导入我迄今为止所做的一切吗? 我在哪里可以获得正确的DLL?
Do I need to create an Empty SharePoint project and import everything I've done so far into that? Where do I get the proper DLL?
提前感谢您提供的任何帮助。 我只想识别我的SPSite,SPWeb和SPFolder对象。
Thanks in advance for any help you can provide. I would just like my SPSite, SPWeb, and SPFolder objects to be recognized.
MSVC ++新手
推荐答案
您好MattFunke。
Hi MattFunke.
您写道,您无法看到整个 C:\Program Files \Common Files \ Mysrosoft Shared\Web服务器扩展程序硬盘中的路径:您是否在安装了SharePoint的同一台计算机上安装了Visual Studio?
You wrote that you cannot see the whole C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ path in your hard drive: did you install Visual Studio on the same machine where SharePoint is installed?
再见。
这篇关于Microsoft.SharePoint dll在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!