问题描述
根据文档,TeamCity v8.1.x现在支持具有Assembly版本修补功能的GlobalAssemblyInfo.cs文件,即使我的解决方案中有这样的文件,并且我的每个项目都有指向该文件版本的链接信息不会被替换. TeamCity是否在某些位置寻找该文件,或者它只是扫描整个解决方案树?
According to the documents TeamCity v8.1.x supports a GlobalAssemblyInfo.cs file now with the Assembly version patching feature however even though I have such a file in my solution and each of my projects have a link to this file the version information is not being replaced. Is there are certain location where TeamCity is looking for this file or does it just scan the entire solution tree?
推荐答案
此功能仅在TeamCity 8.1.3中添加.
This feature only got added in TeamCity 8.1.3.
在AssemblyInfo Patcher设置中,将带有复选框的"Patch GlobalAssemblyInfo:"选项.如果选中此框,则您的(存储库根目录)/GlobalAssemblyInfo.cs
应该被更新.
In the AssemblyInfo Patcher settings there will be a "Patch GlobalAssemblyInfo:" option with a checkbox. If you check the box your (repo root)/GlobalAssemblyInfo.cs
should be updated.
这篇关于TeamCity对GlobalAssemblyInfo.cs的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!