I have run into a strange issue with templates and artifact dependencies. I have 4 build configurations that were attached to the same template. Each of these configurations have different snapshot and artifact dependencies (3 snapshot/artifact dependencies each). Twice TeamCity has copied all the artifact dependencies from the build configurations into the template, so now all 4 build configurations have the same artifact dependencies (12 total) because they are now in the shared template. The first time I deleted all the artifact dependencies from the template and re-created them in each of the 4 build configurations. After the second time, I just detached the template. Very strange.