If a TeamCity downstream build cannot see files from .teamcity, that is by design: add an explicit artifact path for .teamcity. Nothing under it is shared as an artifact otherwise.

Context: From the official TeamCity artifact dependencies docs. Files under the .teamcity directory are excluded from artifact dependencies unless you add an artifact path starting with .teamcity explicitly. People version their build configs in .teamcity and then wonder why a downstream build never sees them.