TeamCity - MSBuild - SVN - AssemblyVersion - C#

為{幸葍}努か 提交于 2019-12-23 19:28:53

问题


I'm currently using MSBuild+Community Task's to change the AssemblyVersion, AssemblyFileVersion + more in AssemblyInfo.cs, via TeamCity and it works like a charm :).

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

How can I do that?

I tried with the "SvnCommit" task from Community Tasks, but on the Agent's the source is not checked out, it appears to be Exported or copied directly from TC instead (there's no .svn folders). This is actually very cool I think and good practise, but in this case I would really like to be able to commit the updated AssemblyInfo.cs files (+maybe so autogenerated documentation) back to the repo.

Anyone found a nice way of doing this?

Kind Regards

Garrett


回答1:


See Restuta's comment :).



来源:https://stackoverflow.com/questions/3141171/teamcity-msbuild-svn-assemblyversion-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!