Advantages of using MSBuild or NAnt versus running DevEnv.exe from command-line

前端 未结 6 1008
执笔经年
执笔经年 2020-12-25 13:36

Can anyone explain what advantages there are to using a tool like MSBuild (or NAnt) to build a collection of projects versus running DevEnv.exe from the command-line?

<
6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-25 14:16

    The prime reason for using an external build tool like NAnt or MsBuild is the ability to automate your build process and thus provide continous feedback on the status of your system. Also they can be used for loads of things besides a "pure" build and that's where you really start to get value from them, it's an extremly valuable thing to be able to build and test your application with a single command.

    You can also start adding stuff like collection of metrics, packinging of release binaries and all sorts of nifty stuff like that.

提交回复
热议问题