我使用 Windows 8 C# XAML 创建了一个示例应用程序,以使用 COM Dlls 获取 SharePoint 2010 的站点信息。我添加了以下参考:
C:\Program Files\Common Files\microsoft shared\SharePoint Client\Microsoft.SharePoint.Client.dll
C:\Program Files\Common Files\microsoft shared\SharePoint Client\Microsoft.SharePoint.Client.Runtime.dll
但是当我构建项目时,它给了我以下错误:
Error1: Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll' E:\Windows 8 And Sharepoint Example\SharePointCOMApp\SharePointCOMApp\SharePointCOMApp.csproj
Error2: Type universe cannot resolve assembly: System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. SharePointCOMApp
我该如何解决这个问题?