Browse Source

Cli: Fix mvc project's build error when the theme is selected as Lepton theme on creation.

pull/20235/head
Engincan VESKE 2 years ago
parent
commit
6ac1ca5ca2
  1. 7
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ChangeThemeStep.cs

7
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ChangeThemeStep.cs

@ -289,6 +289,13 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
moduleFile.Name,
"Volo.Abp.LeptonX.Shared;"
);
AddNamespaces(
context,
moduleFile.Name,
"using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton;",
"using Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling;"
);
}
}

Loading…
Cancel
Save