views:

39

answers:

0

This question Refines:

Previous Question

A good solution was offered to automatically increase the revision number (not by random time values but incrementally) using this tool: Build Task tool given by user: @marc_s

The problem with this solution revealed - in a source-controlled environment - when you the files that are not locked - are read only.

In this case - every programmer that try to build the solution - has a problem - the build task wants to change assemblyinfo.cs, and it can't do it since it's not locked. once the programmer locks it, other programmers can't rebuild until he releases.

So - here is the question again - Is it possible to have the build number incremented on a machine based - to avoid the lock problem ? (hence - only "build" machine will advance the numbers, but everyone else can compile)