diff --git a/src/tests/Directory.Merged.props b/src/tests/Directory.Merged.props
index 04c63ce367891..6bd9586b89573 100644
--- a/src/tests/Directory.Merged.props
+++ b/src/tests/Directory.Merged.props
@@ -3,6 +3,31 @@
true
false
+
+
$(MSBuildProjectName.Replace('_il_d', '').Replace('_il_r', ''))