In TeamCity 7 you can specify assembly filters for dotCover. For example you can exclude a referenced assembly by adding a negative filter:
-:TheAssembly.To.Ignore.*
This would exclude any assemblies where the name started with TheAssembly.To.Ignore