It'll throw a FormatException if the argument string cannot be parsed to an integer. I think some friendlier error handling should be in place, possibly in the AssignVersionPart function in Program.fs? I noticed that the assign operation with a version string will also throw an exception currently when passed a string that cannot be parsed to a System.Version type