Open pest1999 opened 4 years ago
abp vnext的AbpModule 可以在ConfigureServices中加载esla,避免automapper冲突 但是abp的AbpModule 没有对应方法,只能在Initialize中通过IocManager.Register注册几个Controllers IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.HomeController>(); IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowDefinitionController>(); IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowInstanceController>(); IocManager.Register<Elsa.WorkflowDesigner.ViewComponents.WorkflowDesignerViewComponent>();
IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.HomeController>(); IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowDefinitionController>(); IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowInstanceController>(); IocManager.Register<Elsa.WorkflowDesigner.ViewComponents.WorkflowDesignerViewComponent>();
测试报错: Could not load type 'IdentityModel.Client.IntrospectionResponse' from assembly 'IdentityModel, Version=4.3.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'. 应该还是automapper冲突造成的
Could not load type 'IdentityModel.Client.IntrospectionResponse' from assembly 'IdentityModel, Version=4.3.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'.
请问有abp的解决方案吗?
abp没试过,实在不行就copy它得api部分
新版本好像可以了,但界面乱码~~
abp vnext的AbpModule 可以在ConfigureServices中加载esla,避免automapper冲突 但是abp的AbpModule 没有对应方法,只能在Initialize中通过IocManager.Register注册几个Controllers
IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.HomeController>(); IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowDefinitionController>(); IocManager.Register<Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowInstanceController>(); IocManager.Register<Elsa.WorkflowDesigner.ViewComponents.WorkflowDesignerViewComponent>();
测试报错:
Could not load type 'IdentityModel.Client.IntrospectionResponse' from assembly 'IdentityModel, Version=4.3.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'.
应该还是automapper冲突造成的请问有abp的解决方案吗?