i put all dependencies in plugin folder but its throw error:
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module SglCreateBaseProject.Web.SglCreateBaseProjectWebModule, SglCreateBaseProject.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> Volo.Abp.AbpInitializationException: An error occurred during ConfigureServices phase of the module Volo.Abp.AspNetCore.AbpAspNetCoreModule, Volo.Abp.AspNetCore, Version=5.2.1.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.Exception: An object accessor is registered before for type: Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Http.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
at Microsoft.Extensions.DependencyInjection.ServiceCollectionObjectAccessorExtensions.AddObjectAccessor[T](IServiceCollection services, ObjectAccessor1 accessor) at Volo.Abp.AspNetCore.AbpAspNetCoreModule.ConfigureServices(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServices() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServices() at Volo.Abp.AbpApplicationFactory.Create[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at SglCreateBaseProject.Web.SglCreateBaseProjectWebModule.ConfigureSwaggerServices(IServiceCollection services) in D:\Module_Project\Create Base Project\SglCreateBaseProject\src\SglCreateBaseProject.Web\SglCreateBaseProjectWebModule.cs:line 224
at SglCreateBaseProject.Web.SglCreateBaseProjectWebModule.ConfigureServices(ServiceConfigurationContext context) in D:\Module_Project\Create Base Project\SglCreateBaseProject\src\SglCreateBaseProject.Web\SglCreateBaseProjectWebModule.cs:line 104
at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
--- End of inner exception stack trace ---
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
at SglCreateBaseProject.Web.Program.Main(String[] args) in D:\Module_Project\Create Base Project\SglCreateBaseProject\src\SglCreateBaseProject.Web\Program.cs:line 39
Any Updates??
ok thanks.
any example for migration in plugin base project?
If i add module as plugin in project then how can i do migration of that module? I Reference: https://docs.abp.io/en/abp/latest/PlugIn-Modules
Ok thanks its working fine.
If i want to show other razor page as default page instead of index.cshtml then what should i do?