Tomas Kubes
Tomas Kubes

Reputation: 25138

How to write TeamCity build counter into FILE_VERSION_INFO of dll

We have a project in git repository which is built by TeamCity into mylib.dll

There is a build counter in TeamCity and we would like to label the commit being build with this counter and also to set this counter/label as FILE_VERSION_INFO in mylib.dll (right click -> Properties -> Details).

Is there any feature in TeamCity do it? We checked the meta-runner-power-pack, but we didn't find any tool how to do this.

Upvotes: 0

Views: 230

Answers (1)

Alina Mishina
Alina Mishina

Reputation: 3370

To label sources of a particular build you can use VCS Labeling build feature. There is AssemblyInfo Patcher feature in TeamCity which allows to add Assembly version.

Upvotes: 1

Related Questions