摘要: SharePoint的dll部署在GAC下,而不是在网站的bin下,在开发SharePoint相关页面或web part时,需要在页首加上以下代码,$SharePoint.Project.AssemblyFullName$是visual studio编译时会自动替换的变量:<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>最好下面还能加上以下代码:<%@ Import Namespace="yournamespace" %>这样可以避免类型无法加载的错误,也可以 阅读全文
posted @ 2012-05-18 10:50 大刀客 阅读(309) 评论(0) 推荐(0) 编辑