Check out NAnt, a free build tool that can be used to automate builds for .NET applications.