Browse Source

Merge pull request #20235 from abpframework/EngincanV/cli-lepton-switch

Cli: Fix mvc project's build error when the theme is selected as Lepton theme on creation
pull/20242/head
Gizem Mutu Kurt 2 years ago
committed by GitHub
parent
commit
9fa8eb2eb1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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