diff --git a/test/Directory.Build.props b/test/Directory.Build.props
index b708cba96e..6aa958f199 100644
--- a/test/Directory.Build.props
+++ b/test/Directory.Build.props
@@ -43,6 +43,8 @@
but they need to be migrated. Excluding these classes should have very minimal effect on code coverage.
-->
[*]Microsoft.ML.*Contracts*,[*]Microsoft.ML.Internal.Utilities*,[*]Microsoft.ML.Data.VBuffer*
+ Obsolete,ExcludeFromCodeCoverage
+ $(BaseOutputPath)..\src\Microsoft.ML.Onnx\OnnxMl.cs,$(BaseOutputPath)..\src\Microsoft.ML.TensorFlow\TensorFlow\Buffer.cs,$(BaseOutputPath)..\src\Microsoft.ML.TensorFlow\TensorFlow\Tensor.cs,$(BaseOutputPath)..\src\Microsoft.ML.TensorFlow\TensorFlow\Tensorflow.cs