diff --git a/generators/server/templates/dotnetcore/src/Directory.Packages.props b/generators/server/templates/dotnetcore/src/Directory.Packages.props
index 21e200d38..b27e25f79 100644
--- a/generators/server/templates/dotnetcore/src/Directory.Packages.props
+++ b/generators/server/templates/dotnetcore/src/Directory.Packages.props
@@ -33,7 +33,7 @@
<%_ if (cqrsEnabled) { _%>
-
+
<%_ } _%>