diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj
index 70be01d7d14f1..948d29c14141e 100644
--- a/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj
+++ b/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj
@@ -10,6 +10,8 @@
false
false
+
+ false
true
$(PackageRID)
true
@@ -30,7 +32,7 @@
-
+