當我嘗試使用stsadm -o addsolution -filename嘗試部署我的wsp時,收到「解決方案中未能提取cab文件」錯誤...SharePoint:「無法提取解決方案中的cab文件」
我已經打開WSP作爲一個出租車,並檢查有沒有重複的文件在那裏,因爲我明白,有時可能會導致此問題。
只有當我嘗試包括自定義字段類型爲我的解決方案的一部分開始的問題,要做到這一點,我添加了以下到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中,但它並沒有看到幫助。
任何想法?
(+1)這就是我在回答後的內容......只是沒有記住它。 – 2009-06-25 11:06:26