如何在DNN 5.0 下打包模块

DNN 5.0 的模块注册文件的格式有一些变化,之前在4.x的一些惯用做法会有些问题。

最常见的一个问题是,你会发现为DNN 4.x制作的打包文件中的resource.zip文件在DNN 5.0中安装时不会被自动解压。其实,在DNN 5.0中,在DNN 文件中注册resource.zip文件应该这样写:

    <component type="ResourceFile">
        <resourceFiles> 
             <basePath>DesktopModules\ModuleName</basePath> 
             <resourceFile>
                  <name>Resources.zip</name> 
              </resourceFile>
        </resourceFiles>
    </component>

这样在DNN 5.0中,可以支持多个resource.zip包。

更多的关于新DNN 5.0 打包DNN文件格式的修改信息,可以参考这里:

http://www.erikvanballegoij.com/tabId/36/itemId/24/DotNetNuke-5-Extension-packaging.aspx

和Charles Nurse的:

  1. The New Extension Installer Manifest – Part 1, Introduction
  2. The New Extension Installer Manifest – Part 2, Component Installers
  3. The New Extension Installer Manifest – Part 3, The Cleanup Component
0
0
(请您对文章做出评价)
« 上一篇:.Net 中如何得到系统鼠标的位置
» 下一篇:如何给Excel中的字符串添加双引号

posted on 2009-07-11 21:19 m2land 阅读(365) 评论(0)  编辑 收藏 所属分类: ASP.NET, DotNetNuke

导航

公告

统计

搜索

 

我参与的团队

随笔分类

DNN专业站点

积分与排名

最新评论

阅读排行榜

评论排行榜

60天内阅读排行