diff --git a/src/EFCore/EFCore.csproj b/src/EFCore/EFCore.csproj
index 038f1d38f95..b082dc6927f 100644
--- a/src/EFCore/EFCore.csproj
+++ b/src/EFCore/EFCore.csproj
@@ -31,6 +31,13 @@ Microsoft.EntityFrameworkCore.DbSet
+
+
+ True
+ buildTransitive
+
+
+
TextTemplatingFileGenerator
diff --git a/src/EFCore/buildTransitive/net6.0/Microsoft.EntityFrameworkCore.props b/src/EFCore/buildTransitive/net6.0/Microsoft.EntityFrameworkCore.props
new file mode 100644
index 00000000000..9a8580ae56b
--- /dev/null
+++ b/src/EFCore/buildTransitive/net6.0/Microsoft.EntityFrameworkCore.props
@@ -0,0 +1,9 @@
+
+
+
+ true
+
+