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??