random code and what not

'file version' is not in the normal '' format

At work we use TFS for source control and NAnt for building our application, yesterday our NAnt build started failing with the following error message ”Assembly generation The version ‘’ specified for the ‘file version’ is not in the normal ‘’ format

After a quick Google search it turns out that each segment in a .net assembly cannot be larger then 65534. We use the TFS changeset for the revision segment but this will no longer work for us as we are now beyond changeset 65534 - doh! As a work around we are now using only the last 4 digits of the changeset, so instead of we are using the version

this required a small change to the Nant build script
  • the update is here
  • and the original is here
this version constraint is documented here