Build.vcs.number is above 65535

I'm generationg the AssemblyVersion for assembly using build.vcs.number as a revision number (accordingly to the format 'major.minor.build.revision'). It was working fine but recently I've got build error: The version '2.42.0.71613' specified for the 'file version' is not in the normal 'major.minor.build.revision' format. 2.24.0 is setted up by intentionally by my, and the 71613 is generated from build.vcs.number. I've found that 65535 is the biggest correct build number. How can I reset this counter to make this build working? I was trying to reinstall TeamCity, install on other machine and the error is still appearing.

Regards,
Mathew

3 comments
Comment actions Permalink

You can go to the build configuration settings and click reset build counter, or just set its value to any desirable one.

0
Comment actions Permalink

Hi,
this action will reset only %build.counter% not the build.vcs.number.

Regards,
Mathew

0
Comment actions Permalink

%build.vcs.number% is a revision number from your version control. TC has no control over it.

0

Please sign in to leave a comment.