服务/计划程序,用于编译和部署.net项目 [英] Service/scheduler to compile and deploy a .net project

查看:74
本文介绍了服务/计划程序,用于编译和部署.net项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要创建Service/scheduler来编译和部署不同的.net项目.
我一直在研究各种工具,如Cruisecontrol,Octopus,Puppet等.
有人可以建议使用多个.net项目(版本可能不同,而项目本身的更改最少)时,哪个用户最容易使用.
谢谢

Hi,
I need to create Service/scheduler to compile and deploy a different .net projects.
I have been looking at various tools like Cruisecontrol, Octopus, Puppet etc.
Can somebody please suggest which one is the best and easy to user with multiple .net projects of possibly different version with minimal change in the projects itself.
Thanks

推荐答案

我们已经使用CruiseControl已有相当一段时间了,它的用途非常好.在后台,我认为它正在使用MS-Build.构建后,它也可以为您运行MSUnit或nUnit测试用例.它可以按计划运行,也可以在有人签入源代码管理中的代码时运行.

CruiseControl还假设在构建之前/之后运行批处理文件.对于一般的部署,您大部分时间只需要在适当的位置复制已发布的代码即可.这可以通过简单的批处理文件来处理(即使您必须执行FTP).如果您要移动一些DLL来注册或放入GAC,那我也认为您可以轻松地在批处理文件中进行处理.

如果您使用的是TFS,则TFS还具有用于构建/部署的内置工具

希望能有所帮助.如果是这样,请将答案标记为解决方案和/或投票.

谢谢,
Milind
We have been using CruiseControl for quite some time and its serving the purpose pretty fine. In background I think it is using MS-Build. It can also run MSUnit or nUnit test cases for you after build. It can run either on schedule or when someone checks-in the code in source control.

CruiseControl also suppose running batch file before/after the build. For Deployment generally, you just need to copy the published code in appropriate location most of the time. This can be handle by simple batch file (even if you have to do FTP). If you have some DLL to move to register or put in GAC, that also I think you can easily handle in batch file.

If you are using TFS, TFS also has build in facility for build/deploy

Hope that helps. If it does, mark the answer as solution and/or upvote.

Thanks,
Milind


这篇关于服务/计划程序,用于编译和部署.net项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆