用过2005版的都知道,这个是必用的好东西。2008要装新的,MS的下载页面是
http://www.microsoft.com/downloads/details.aspx?FamilyID=0aa30ae8-c73b-4bdd-bb1b-fe697256c459&displaylang=en
约350KB。
替代下载
作用:这个软件可以集成到VS.NET中,将全部代码集中到一个DLL文件中,可以提高速度,方便发布。
注意:如果整个工程中有重复的类名,会编译失败。
使用介绍:
安装后在“生成(Build)”和WEB项目的上下文菜单看到“Add Web Deployment Project…”,好了添加一个Web Deployment Project项目,起一个名称,这个名称就是将来编译后生成的程序集名称,默认的名称“当前项目名称_deploy”
双击Web Deployment Project的项目出现属性页面
Compilation中的Output Folder设置项目输出路径
Output Assemblies中的四大选项:
Merge all outputs to a single assembly-所有输出都编译成一个程序集(参数:程序集名称)
Treat as library component (remove the App_Code.compiled file)-App_Code视为类库(删除App_Code.compiled文件)
Merge each individual folder output to its own assembly-WEB项目中单独的目录会编译到一个程序集中(参数:程序集前缀)
Merge all pages and control outputs to a single assembly-所有页面控件编译到一个程序集中(参数:程序集名称)
Create a separate assembly for each page and control output-为每一个页面和控件创建程序集
Signing使用key文件建立强命名空间的程序集
Deployment
Enable Web.config file section replacement-用不同的config文件替换Web.config中的节点
Create an IIS virtual directory for the output folder-创建IIS虚拟目录(参数:虚拟目录名称)
Remove the App_Data folder from output location-删除输出目录中的App_Data目录
2008年9月13日星期六
订阅:
博文评论 (Atom)

没有评论:
发表评论