1、在WEB层点击鼠标右键-->发布
2、配置文件-->新建配置文件-->输入配置名称
3、连接-->发布方法选择系统文件-->输入目标位置
4、设置-->配置选择Release-->文件发布选项-->在发布前删除所有现有文件
5、预览-->发布