From e7262129ce5e11443f82e1023d85b221445fcaf9 Mon Sep 17 00:00:00 2001 From: enisn Date: Thu, 7 Jul 2022 14:44:00 +0300 Subject: [PATCH] Exclude abstract BundleContributors in BundlingService --- .../Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs index 314372ddc3..492e938874 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs +++ b/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()) + .Where(t => !t.IsAbstract && !t.IsInterface && t.IsAssignableTo()) .ToList(); if (bundleContributors.Count > 1)