diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo.Abp.FeatureManagement.Application.csproj b/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo.Abp.FeatureManagement.Application.csproj
index 2c4cdef3208..b2f186ce710 100644
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo.Abp.FeatureManagement.Application.csproj
+++ b/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo.Abp.FeatureManagement.Application.csproj
@@ -10,7 +10,6 @@
-
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/AbpFeatureManagementApplicationModule.cs b/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/AbpFeatureManagementApplicationModule.cs
index ceba5764738..7c20a61a0cf 100644
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/AbpFeatureManagementApplicationModule.cs
+++ b/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/AbpFeatureManagementApplicationModule.cs
@@ -1,6 +1,4 @@
-using Microsoft.Extensions.DependencyInjection;
-using Volo.Abp.Application;
-using Volo.Abp.AutoMapper;
+using Volo.Abp.Application;
using Volo.Abp.Modularity;
namespace Volo.Abp.FeatureManagement;
@@ -8,17 +6,9 @@ namespace Volo.Abp.FeatureManagement;
[DependsOn(
typeof(AbpFeatureManagementDomainModule),
typeof(AbpFeatureManagementApplicationContractsModule),
- typeof(AbpAutoMapperModule),
typeof(AbpDddApplicationModule)
)]
public class AbpFeatureManagementApplicationModule : AbpModule
{
- public override void ConfigureServices(ServiceConfigurationContext context)
- {
- context.Services.AddAutoMapperObjectMapper();
- Configure(options =>
- {
- options.AddProfile(validate: true);
- });
- }
+
}
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/FeatureManagementApplicationAutoMapperProfile.cs b/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/FeatureManagementApplicationAutoMapperProfile.cs
deleted file mode 100644
index 77f3218ddce..00000000000
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Application/Volo/Abp/FeatureManagement/FeatureManagementApplicationAutoMapperProfile.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using AutoMapper;
-
-namespace Volo.Abp.FeatureManagement;
-
-public class FeatureManagementApplicationAutoMapperProfile : Profile
-{
- public FeatureManagementApplicationAutoMapperProfile()
- {
-
- }
-}
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/AbpFeatureManagementBlazorModule.cs b/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/AbpFeatureManagementBlazorModule.cs
index 0135cd532b2..8bfee863b19 100644
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/AbpFeatureManagementBlazorModule.cs
+++ b/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/AbpFeatureManagementBlazorModule.cs
@@ -1,5 +1,4 @@
using Volo.Abp.AspNetCore.Components.Web.Theming;
-using Volo.Abp.AutoMapper;
using Volo.Abp.Features;
using Volo.Abp.Modularity;
@@ -7,7 +6,6 @@ namespace Volo.Abp.FeatureManagement.Blazor;
[DependsOn(
typeof(AbpAspNetCoreComponentsWebThemingModule),
- typeof(AbpAutoMapperModule),
typeof(AbpFeatureManagementApplicationContractsModule),
typeof(AbpFeaturesModule)
)]
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Volo.Abp.FeatureManagement.Blazor.csproj b/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Volo.Abp.FeatureManagement.Blazor.csproj
index d5d985e482a..22dab36cff3 100644
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Volo.Abp.FeatureManagement.Blazor.csproj
+++ b/modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Volo.Abp.FeatureManagement.Blazor.csproj
@@ -9,7 +9,6 @@
-
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/AbpFeatureManagementWebModule.cs b/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/AbpFeatureManagementWebModule.cs
index 91b60e79c92..752e966ef2e 100644
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/AbpFeatureManagementWebModule.cs
+++ b/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/AbpFeatureManagementWebModule.cs
@@ -2,7 +2,6 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AspNetCore.Mvc.Localization;
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared;
-using Volo.Abp.AutoMapper;
using Volo.Abp.FeatureManagement.Localization;
using Volo.Abp.Http.ProxyScripting.Generators.JQuery;
using Volo.Abp.Modularity;
@@ -12,8 +11,7 @@ namespace Volo.Abp.FeatureManagement;
[DependsOn(
typeof(AbpFeatureManagementApplicationContractsModule),
- typeof(AbpAspNetCoreMvcUiThemeSharedModule),
- typeof(AbpAutoMapperModule)
+ typeof(AbpAspNetCoreMvcUiThemeSharedModule)
)]
public class AbpFeatureManagementWebModule : AbpModule
{
@@ -37,16 +35,10 @@ public override void ConfigureServices(ServiceConfigurationContext context)
options.FileSets.AddEmbedded();
});
- context.Services.AddAutoMapperObjectMapper();
- Configure(options =>
- {
- options.AddProfile(validate: true);
- });
-
Configure(options =>
{
//Configure authorization.
- });
+ });
Configure(options =>
{
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/FeatureManagementWebAutoMapperProfile.cs b/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/FeatureManagementWebAutoMapperProfile.cs
deleted file mode 100644
index 802ccec550d..00000000000
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/FeatureManagementWebAutoMapperProfile.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using AutoMapper;
-
-namespace Volo.Abp.FeatureManagement;
-
-public class FeatureManagementWebAutoMapperProfile : Profile
-{
- public FeatureManagementWebAutoMapperProfile()
- {
- //Create mappings.
- }
-}
diff --git a/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Volo.Abp.FeatureManagement.Web.csproj b/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Volo.Abp.FeatureManagement.Web.csproj
index 623cb2e42ca..838a472ce3b 100644
--- a/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Volo.Abp.FeatureManagement.Web.csproj
+++ b/modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Volo.Abp.FeatureManagement.Web.csproj
@@ -32,7 +32,6 @@
-