WSPBuilder

http://wspbuilder.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24627

最新版的WSPBuilder发布了,请通过上面的网站进行下载

这个工具是帮助开发人员更好地打包MOSS解决方案包的。虽然手工做也是可以做出来,但事实上那些操作很烦。

 

这个工具在中文版使用的时候有些问题

http://blog.joycode.com/kaneboy/archive/2009/02/25/115483.aspx

今天偶然发现,WSPBuilder在中文版本的Visual Studio上面无法正常工作(以前一直使用英文版VS,所以没发现有这种问题),在使用"Build WSP"指令时,会提示"值不在预期的范围内"。到WSPBuilder的项目网站找了一下,发现已经有使用法文版Visual Studio的用户,提出过这个Bug了。我从项目网站上找到源代码,修改了一下,让它可以兼容非英文版本的Visual Studio了。如果你习惯了使用中文Visual Studio,可以到这里下载我上传到页面上的附件"WSPTools.VisualStudio.VSAddIn.zip"。下载后,使用压缩包里面的"WSPTools.VisualStudio.VSAddIn.dll",替换GAC里面的同名文件就可以了。

可以通过下面的链接下载一个更新的dll

http://www.codeplex.com/wspbuilder/WorkItem/View.aspx?WorkItemId=11301

 

关于该工具的使用,有两种主要的方式

1. 使用命令行工具

2. 使用Visual Studio扩展的方式

 

这个工具是基于文件夹的,因为我们通常部署的时候,都是需要将有关的资源复制到一些特殊的目录的

12这个目录是指  C:\Program Files\Common Files\Microsoft Shared\web server extensions\12
这个目录下面会有如下的目录结构

image

可以依次建立子目录

 

GAC目录是指复制有关的dll到目标机器的GAC

image

而80是指相应的WebApplication的根目录,这是与IIS有关的一个目录(注意,并不是特指80端口)

image

 

How to use the WSPBuilder

-------------------------

The WSPbuilder program builds WSP based on a folder structure.

Add your solution files to this folder structure and you do not need to specify any

thing else.

To auto generate the folder structure use the -createfolder argument.

To show the help use the -help argument.

Otherwise the wspbuilder will assume that you will build an manifest.xml and wsp file.

The root folder structure that WSPBuilder depends on looks like following:

12

80

GAC

The 12 folder represents the folders found in

"%Program Files%\Common Files\Microsoft Shared\web server extensions\12"

The 12 sub folders must have the same folder structure as the SharePoint 12 folder.

E.g:

12\ISAPI

12\Template\Features

12\Template\Layouts\1033

and so on.

Folders that are not used, do not need to be specified.

It is possible to define your own folders and they will be included in the solution.

If you want to build a Solution for a custom feature. Create the following structure.

"12\Template\Features\MyCustomFeature" and add your feature files to the MyCustomFeature

folder.

The 80 folder represents the WebApplication folder and contains following subfolders

80\bin, 80\wpcatalog, 80\resources. The 80\bin contains the dll's. If you have some

webpart definitions (webpart, dwp) files, they goes into the wpcatalog folder.

Any file can be added to the resource folder.

The GAC folder contains all DLL's that goes into the Global Assembly Cache on

installation. It is possible to define satellite assemblies within the same folder.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
资源包主要包含以下内容: ASP项目源码:每个资源包中都包含完整的ASP项目源码,这些源码采用了经典的ASP技术开发,结构清晰、注释详细,帮助用户轻松理解整个项目的逻辑和实现方式。通过这些源码,用户可以学习到ASP的基本语法、服务器端脚本编写方法、数据库操作、用户权限管理等关键技术。 数据库设计文件:为了方便用户更好地理解系统的后台逻辑,每个项目中都附带了完整的数据库设计文件。这些文件通常包括数据库结构图、数据表设计文档,以及示例数据SQL脚本。用户可以通过这些文件快速搭建项目所需的数据库环境,并了解各个数据表之间的关系和作用。 详细的开发文档:每个资源包都附有详细的开发文档,文档内容包括项目背景介绍、功能模块说明、系统流程图、用户界面设计以及关键代码解析等。这些文档为用户提供了深入的学习材料,使得即便是从零开始的开发者也能逐步掌握项目开发的全过程。 项目演示与使用指南:为帮助用户更好地理解和使用这些ASP项目,每个资源包中都包含项目的演示文件和使用指南。演示文件通常以视频或图文形式展示项目的主要功能和操作流程,使用指南则详细说明了如何配置开发环境、部署项目以及常见问题的解决方法。 毕业设计参考:对于正在准备毕业设计的学生来说,这些资源包是绝佳的参考材料。每个项目不仅功能完善、结构清晰,还符合常见的毕业设计要求和标准。通过这些项目,学生可以学习到如何从零开始构建一个完整的Web系统,并积累丰富的项目经验。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值