深入浅出SharePoint——WebPart部署方式一之加载dll文件

1、编译webpart对应的项目,拷贝bin文件夹下的dll文件到C:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin;
2、iisreset(iis重启后会加载bin文件夹下的dll文件);
3、在C:\Inetpub\wwwroot\wss\VirtualDirectories\80的web.config的节点<SafeControls></SafeControls>中增加dll文件的信息
比如:   
<SafeControl Assembly="PowerfulCalendar, Version=1.0.0.0, Culture=neutral,PublicKeyToken=9f4da00116c38ec5" Namespace="PowerfulCalendar" TypeName="PowerfulCalendar" Safe="True" />
4、

原文地址:https://www.cnblogs.com/mingle/p/1543603.html