MSBuild — Use the .csproj file or roll your own?

后端 未结 7 1934
自闭症患者
自闭症患者 2020-12-29 05:23

OK, so I readily concede that I\'m a newbie when it comes to continuous integration.

That being said, I\'m trying to set up a CC.NET environment to educate myself, b

7条回答
  •  余生分开走
    2020-12-29 06:07

    I use both NAnt and MSBuild. NAnt was upgraded with NAntContrib so that I got msbuild taks. I may be temporary setup but so far I have not run in major problems. That said I also do not create a new csproj file because I use the same csproj/sln that I use in VS2008. Building projects with msbuild greatly simplified legacy NAnt scripts (we used csc task).

    Notes:

    1. If you use Windows Workflow Foundation in your projects you will have major difficulties build such project without msbuild.
    2. Do not install VS.NET on your build machine. You can use Wix do create installation msi.
    3. @Franci Penov: Running unit tests SHOULD be part of every build. Do you really want to wait until tomorrow to find a bug ? There is a side note: Unit tests should run very fast.

提交回复
热议问题