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?

4 comments
Comment actions Permalink

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.

0
Comment actions Permalink

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

0
Comment actions Permalink

It's set in build configuration properties, on Build Parameters page.

0
Comment actions Permalink

Cool, that works like a charm. Thanks :)

/Thomas

0

Please sign in to leave a comment.