I\'m currently experimenting with build script, and since I have an ASP.net Web Part under source control, my build script should do that at the end:
Use https://github.com/dblock/vmwaretasks rather than the raw VixCOM API if you're going to do this in C#.