WSPBuilder将功能部署到SharePoint-Webconfig [英] WSPBuilder Deploying Features to SharePoint - webconfig

查看:91
本文介绍了WSPBuilder将功能部署到SharePoint-Webconfig的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WSPBuilder将Web部件作为功能包装和部署到SharePoint MOSS2007环境中.

我爱WSPBuilder,而且效果很好……除了一件事.

但是,它确实在网络配置中写入了SafeControl标签....

add程序集未写入web.config.
< add assembly ="name,version,publicKeyToken/>


I am using WSPBuilder to wrap and deploy my web parts as features into a SharePoint MOSS2007 environment.

I love WSPBuilder, and it is working great...... other than one thing.

It does write the SafeControl tags in the web config, however....

The add assembly is not written to the web.config.
<add assembly="name,version,publicKeyToken />


Please, if anyone can help with this!!

推荐答案

因为没有必要添加程序集条目.
Because it isn''t necessary to add an assembly entry.


我不知道有什么不同,但是在我的情况下是必需的.
如果我们不将该行添加到web.config中,则webpart会引发错误,导致无法加载名称空间中的类型...
我们添加这一行,它就可以了吗?
I don''t know what is different, but it is required in my case.
If we do not add that line to the web.config, the webparts throw an error that a type within the namespace cannot be loaded...
we add this line and it works??


这篇关于WSPBuilder将功能部署到SharePoint-Webconfig的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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