Monday 1 October 2007

Windows 2000 must survive!

3 years ago I have switched from Windows 2000 to Windows XP. It's already year since WinXP is issued, but I have surprise intention to return to Windows 2000 again.
Today I have successfully compiled Outlook Integration solution in VS2005 based on new VSTO. And to my own surprise it was done without any VS extentions, w/o .Net framework 3.0 and even without Visual Studion itself. The secret?
Oh... There is no secret at all: VS2005 uses msbuild.exe to compile own solutions. It adds some tolerance to it, but my general build engineering approach is too keep build server and development as lean as possible. The thing I dislike most of all is when somebody updates list of prerequisites of our software and particulary preinstalled software necessary for development. My will would be to be able to compile everything in commandline without any additional tools.
In next post I'd like to describe this process in detail, but today I would like to concern attention on main principle:

Build process should be environment independent.
I.e. irrespective to environment that exists on build server the result should be invariant.
Some days ago we have established new build server and I accidently realized that it works different in testing environment. I swear to avoid situation like that in the future.
Seems to be like we are striving to a catastrophe?
Oh, yeah, we are: it happens when we try to deliver our soft built on new server to customer who has version of the old prerequisite ...
Somebody thinks that update is some kind of Tivoli. Oh, dear sirs, you are mistaken, it is some kind of Ragnarok!