仅从服务器URL加载Sharepoint 2010 DLL,而不是从Intranet URL加载 [英] Sharepoint 2010 DLL load only from server URL not from intranet URL

查看:115
本文介绍了仅从服务器URL加载Sharepoint 2010 DLL,而不是从Intranet URL加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

Hi All

我有自定义活动我是从Sharepoint设计师WF调用我在GAC中注册了自定义活动的DLL,但是当我使用工作流时,如果我的URL是"servername / sitename / listname",那么它工作正常,但如果我的网址是"intranet / sitename / listname",
我收到以下错误 

I have a custom activity i'm calling from Sharepoint designer WF I registered the custom activity's DLL in GAC but when i'm using the workflow if my URL is "servername/sitename/listname" it's working fine but if my URL is "intranet/sitename/listname" I'm getting the below error 

CompilerError Line =" 0"柱= QUOT; 10" Text =&'找不到类型或命名空间名称'customaction'(您是否缺少using指令或汇编引用?)"  

有什么帮助吗?

谢谢 

推荐答案

您好,

您能否告诉我们您如何引用自定义dll ? 

Could you tell us how you reference the custom dll ? 

根据我的知识,GAC文件夹中的dll通常在Visual Studio项目中引用,而dll与SharePoint列表URL的关联性较低,无论是AAM Intranet还是Server Url,它都是在GAC文件夹中:

Per my knowledge, dll in GAC folder usually reference in a Visual Studio Project and dll is less related with SharePoint list url no matter it is AAM Intranet or Server Url, it is in the GAC Folder:

什么是GAC文件夹

在Visual Studio中直接引用: 

Directly reference in Visual Studio: 

如何在Visual Studio中引用GAC中的dll?

谢谢

最好的问候


这篇关于仅从服务器URL加载Sharepoint 2010 DLL,而不是从Intranet URL加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆