第1步
https://www.cnblogs.com/hydor/p/6604053.html
第2步
http://www.cnblogs.com/potential/p/3751426.html
*如果发布后提示"Web 部署任务失败。((2018-07-06 14:31:33)在远程计算机上处理请求时出错"
尝试把文件夹权限设置为完全控制和修改; 详细内容链接: https://www.cnblogs.com/xiaojitui/p/7028536.html