Browse Source

Exclude abstract BundleContributors in BundlingService

pull/13266/head
enisn 4 years ago
parent
commit
e7262129ce
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

@ -229,7 +229,7 @@ public class BundlingService : IBundlingService, ITransientDependency
{
var bundleContributors = module.Assembly
.GetTypes()
.Where(t => t.IsAssignableTo<IBundleContributor>())
.Where(t => !t.IsAbstract && !t.IsInterface && t.IsAssignableTo<IBundleContributor>())
.ToList();
if (bundleContributors.Count > 1)

Loading…
Cancel
Save