diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets
index 0548b4468afb54..cffc3e6ca52939 100644
--- a/src/libraries/Directory.Build.targets
+++ b/src/libraries/Directory.Build.targets
@@ -12,6 +12,7 @@
+ $(PackageOutputPath)
$(NoWarn);nullable
$(NoWarn);nullable