Hello,
I am developing module using an external package. While the module was working successfully in version 5.0.1, we switched to 5.0.2 as a result of the upgrade. But when I activate the plugin, I get the error in the image below.
What is the reason of this?
Image: https://prnt.sc/Fv9zlr7FxWnB
Package: Wangkanai.Detection (6.11.3)
It's my startup.cs folder;
internal class Startup : StarterBase { public override void ConfigureServices(IServiceCollection services, IApplicationContext appContext) { services.AddTransient<IDbContextConfigurationSource<SmartDbContext>, SmartDbContextConfigurer>(); // Add detection services container and device resolver service. services.AddDetection(); } class SmartDbContextConfigurer : IDbContextConfigurationSource<SmartDbContext> { public void Configure(IServiceProvider services, DbContextOptionsBuilder builder) { builder.UseDbFactory(b => { b.AddModelAssembly(this.GetType().Assembly); }); } } public override void ConfigureMvc(IMvcBuilder mvcBuilder, IServiceCollection services, IApplicationContext appContext) { mvcBuilder.AddOData(); } public override void BuildPipeline(RequestPipelineBuilder builder) { builder.Configure(StarterOrdering.BeforeRoutingMiddleware, app => { app.UseDetection(); }); } public override void ConfigureContainer(ContainerBuilder builder, IApplicationContext appContext) { } }