views:

161

answers:

6
+3  Q: 

.NET Build Process

All I am looking for the best free set of tools to be used in a MS Based build process. Checkout, Build, Package, Test, Deploy, etc.

I know this question has been asked before but it was over 2 years ago, and in our world that is an eternity.

I am looking to develop a pattern that is easily adapted to similar projects. Almost like a template/cookie cutter system.

I am currently looking into using CruiseControl, Powershell, MSBuild suite of tools.

If we choose to move to 4.0 will we have issues? Are there better alternatives? Limitations ? Or will these pretty much meet my needs.

One piece that i am never happy with is the process of packaging. We actually have opted in the past to just use Visual Studio Deployment Projects but those are very* ancient and my fear is WIX will be too complicated for the people implementing it.

+3  A: 

I hear that cruisecontrol.net is popular, but I didn't have the time to deal with the XML files needed to configure the build. I opted for teamcity, which is free if you only have 20 projects or less. It is very easy to set up because it has vs2005 and vs2008 build runners that just need the solution file to build. I also got nunit, ncover, and fxcop running without too many problems. It works with all of the major VCSes, though in some cases it cannot label automatically (SVN is okay though). I cannot comment on auto deployment but I believe it can do it. It had better, because this is next on my list and I did think about this when choosing a continuous integration solution.

Dave
+1 for TeamCity; I missed seeing the reference when I posted my answer.
TrueWill
i have actually been trying out team city and its a pretty awesome product.
Nix
Yeah, it is easy to configure and runs very well. We are short on money so I have it running in VirtualBox on my development system for now, just so it's at least on a clean OS, and the performance is totally great.
Dave
A: 

Source Control: mercurial

Build: MSBuild

CI Server: Hudson

Web Deployment: Microsoft Web Deploy

BJ Safdie
+1  A: 

One of the items on my TODO list is to look at Albacore, which provides .NET tasks for the Rake utility. I've been very impressed by how easy Rake makes automation for Ruby projects.

Stuart Ellis
A: 

CI Server: TeamCity

Build Tool: NAnt

You can shell out to MSBuild from NAnt if desired, and you can also execute NAnt scripts directly from TeamCity. For most tasks TeamCity is all you need.

TrueWill
A: 
  • Windows Scheduled task
  • Batchfiles
  • Visual Studio(TFS)
  • NUnit
  • Installshield
  • Command line arguments to run and log each of those

Advantages: no issues, fully customizable, full control over the build process, tests and deployment

GenEric35
TFS comes with a price tag...
Nix
A: 

CruiseControl.Net the xml configuration is not that hard, and very configurable. if you can script something via a commandprompt(batch, powershell, nant, msbuild, ...) you can ran it via CCNet. I use it even for deployment on 70+ servers. And this covers database upgrades, clickonce applications, wcf services, SQL Server Reports, .... I let CCNet even take backup's of the SQL servers, because the pulishers make it easy to report failure / succes.

Williams