What limitations does AssemblyInfo patcher have?
It seems to me that there must a limit on how deep a path can get for AssemblyInfo patcher to be able to patch the AssemblyInfo.cs file?
I have several projects with valid AssemblyInfo.cs file, but they are not touched by the patcher. I suspect it may be because the folder depth is too dep.
Is this true?
Please sign in to leave a comment.
Hi Thomas
Sorry for late reply.
Yes, there is a such limitation - by default the tool scans up to 7 sub-directories.
You can change this depth by setting teamcity.assemblyInfoPatcher.scanDepth configuration parameter.
Oh cool. But how do I change that then? Is it possible through the web interface?
Or do I set it per project?
Or do I have to change a config file somewhere?
Thanks
/Thomas
It's set in build configuration properties, on Build Parameters page.
Cool, that works like a charm. Thanks :)
/Thomas