【发布时间】:2010-11-03 08:33:30
【问题描述】:
当我尝试使用 stsadm -o addolution -filename...部署我的 wsp 时,我收到“无法在解决方案中提取 cab 文件”错误消息...
我已将 wsp 作为 cab 打开并检查其中没有重复文件,据我所知,这有时会导致此问题。
问题仅在我尝试将自定义字段类型作为解决方案的一部分时才开始,为此我在 ddf 中添加了以下内容
..\CustomFields\ShortMonth\ShortMonthControl.ascx ..\CONTROLTEMPLATES\ShortMonthControl.ascx
..\CustomFields\ShortMonth\fldtypes_shortmonth.xml ..\XML\fldtypes_shortmonth.xml
和
<TemplateFiles>
<TemplateFile Location="CONTROLTEMPLATES\ShortMonthControl.ascx"/>
<TemplateFile Location="XML\fldtypes_shortmonth.xml"/>
</TemplateFiles>
到清单。
我已尝试将其恢复为仅对两者中的 ascx 的引用,但它没有帮助。
有什么想法吗?
【问题讨论】:
标签: sharepoint deployment