TeamCity可以使用sln2008 build runner发布一个Web项目吗? [英] Can TeamCity publish a Web project using the sln2008 build runner?
本文介绍了TeamCity可以使用sln2008 build runner发布一个Web项目吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以以某种方式调用Publish目标,并将输出复制到IIS下的文件夹?或者我需要编写一个msbuild脚本?
解决方案
我写了一个很长的博客文章在这个主题可能会对您感兴趣:
基本上:
- 安装Web部署项目
- 将Web部署项目添加到您的解决方案
- 设置解决方案配置管理器以进行部署构建配置
- 有一个啤酒,并怀疑你的自动化awesomeness的荣耀
<在运行构建时,让团队城市使用这个构建开关
I'm building an ASP.Net MVC project in TeamCity.
Can I somehow call the Publish target and get the output copied to a folder under IIS? or do I need to write an msbuild script for this?
解决方案
I've written a pretty long blog post on this very topic that may interest you:
basically:
- install web deployment projects
- add web deployment project to your solution
- setup the solution configuration manager to have a "Deployment" build configuration
- get team city to use this build switch when running the build
- have a beer and wonder in glory at your automagical awesomenesss
这篇关于TeamCity可以使用sln2008 build runner发布一个Web项目吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文