Most likely, IncrementVersion is a project script function defined only in the other (working) .bld file. Also, there is a simpler way to increment the version in a VS solution/project/version file:
http://www.visualbuild.com/Manual/vsnetversionstab.htm