在Sharepoint 2007中部署TFS 2010工作项自定义控件 [英] deploying TFS 2010 work item custom controls in Sharepoint 2007

查看:74
本文介绍了在Sharepoint 2007中部署TFS 2010工作项自定义控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI


我为Web Access创建了工作项自定义控件。我已将Dlls放在Team Foundation Server 2010中 - >申请层 - > WebAccess - >网络 - > WorkItemTracking - >自定义控件。现在,如果通过Team Web Access 2010访问i
,我可以查看自定义控件。但是当我通过sharepoint 2007门户访问时,我无法查看自定义控件。我已将dll和wicc文件复制到以下位置


C:\Program Files \Common Files \ Mysoftoft Shared\web servers extensions \12\TEMPLATE \LAYOUTS \ Tswa \CustomControls


但我收到以下错误


system.IO.FileLoadException:无法加载文件或程序集。


如果Sharepoint中自定义控件的部署过程不同,请与我分享。


问候,


Sekhar


 

解决方案

您好


我已经解决了这个问题很久了。


我在自定义控件开发过程中遗漏了一件事。在现有的Interface成员中,我没有为ClientEditorObjectId()设置值。我已更正并将dll注册到GAC。


 


Sekhar



 



 


HI

I have created work item custom controls for Web Access. I have placed the Dlls in Team Foundation Server 2010 -> Application Tier -> WebAccess -> Web -> WorkItemTracking -> Custom Controls. now, i am able to view the custom controls if i access through Team Web Access 2010. But i am unable to view the custom control when i acces through sharepoint 2007 portal. I have copied the dll and wicc file to following location

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\Tswa\CustomControls

but i got the following error

system.IO.FileLoadException: Could not load file or assembly.

Please share me if the deployment procedure of custom controls in Sharepoint are different.

Regards,

Sekhar

 

解决方案

Hi

I have solved this problem long back.

I have missed one thing during custom control development. In the existing Interface members, I have not set the values for ClientEditorObjectId(). I have corrected it and registered the dll into GAC.

 

Sekhar

 

 


这篇关于在Sharepoint 2007中部署TFS 2010工作项自定义控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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