摘要: 1、明明已经引用了SharePoint的相关dll,但扔报找不到SPSite等类。其原因是控制台程序在VS2010下默认使用的.Net Framework是4.0,而SharePoint是使用的3.5的框架,所以需要将控制台使用的框架也改成3.5。2、SPSite site = new SPSite("http://win-2n2ujh16hsg/");报“The Web application at could not found. Verify that you have typed the URL correctly. If the URL should be ser 阅读全文
posted @ 2012-07-09 16:05 吴东雷 阅读(278) 评论(0) 推荐(0) 编辑