Skip to content

Commit

Permalink
Fix module template Startup namespaces (#12896)
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone committed Dec 14, 2022
1 parent eb5fe43 commit cf4662a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#if (AddPart)
using Fluid;
#endif
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
#if (AddPart)
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Modules;

namespace OrchardCore.Templates.Mvc.Module
Expand Down

1 comment on commit cf4662a

@ozzie-eu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the Nuget release. I was performing the Dojo training, used the powershell utility script 'Initialize-OrchardCoreSolution' and the build failed with these missing dependencies.

Please sign in to comment.