You can set up an automated build with MSBuild. If you prefer continuous
integration (build with every check in), you can use Cruise Control .NET and
set up either MSBuild or nAnt as your build "engine". Both allow quite a bit
of customization. Both allow you to build without reinventing the wheel.