diff --git a/Directory.Build.props b/Directory.Build.props
index f8768d54a31f..dfffacab68b7 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -277,4 +277,9 @@
true
+
+
+
+ $(CoreCompileDependsOn);CreateCompilerGeneratedFilesOutputPath
+