TeamCity - MSBuild - SVN - AssemblyVersion - C #

I am currently using the MSBuild + Community task to modify AssemblyVersion, AssemblyFileVersion + more in AssemblyInfo.cs via TeamCity, and it works like a charm :).

However, I would like to pass the modified AssemblyInfo.cs back to the repo.

How can i do this?

I tried to execute the SvnCommit task from the Community task , but the source was not extracted in the Agent, it seems to have been exported or copied directly from TC instead (there are no .svn folders). This is actually very cool, I think, and good practice, but in this case I would really like to be able to update AssemblyInfo.cs (+, possibly auto-generated documentation) files back to the repo.

Has anyone found a good way to do this?

Yours faithfully

Garrett

+3
source share
1 answer

See the Restuta comment :).

+2
source

Source: https://habr.com/ru/post/1752281/


All Articles