zrkcode / Elsa-Workflow-Issue

abp vnext and elsa-core demo
MIT License
10 stars 1 forks source link

请问是否支持abp? #2

Open pest1999 opened 4 years ago

pest1999 commented 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>();

测试报错: Could not load type 'IdentityModel.Client.IntrospectionResponse' from assembly 'IdentityModel, Version=4.3.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'. 应该还是automapper冲突造成的

请问有abp的解决方案吗?

zrkcode commented 4 years ago

abp没试过,实在不行就copy它得api部分

hyzx86 commented 3 years ago

新版本好像可以了,但界面乱码~~