SCF升级3.0依赖注入问题
passhk opened this issue · comments
Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Senparc.Core.Cache.FullAccountCache Lifetime: Singleton ImplementationType: Senparc.Core.Cache.FullAccountCache': Cannot consume scoped service 'Senparc.Core.Models.ISqlClientFinanceData' from singleton 'Senparc.Core.Cache.FullAccountCache'.) (Error while validating the service descriptor 'ServiceType: Senparc.Core.Cache.FullSystemConfigCache Lifetime: Singleton ImplementationType: Senparc.Core.Cache.FullSystemConfigCache': Cannot consume scoped service 'Senparc.Core.Models.ISqlClientFinanceData' from singleton 'Senparc.Core.Cache.FullSystemConfigCache'.)
请等官方升级,net core 3.0 在EF 相关做了一些改动的。
@passhk 现在主库已经升级到3.0,请测试。
@passhk 现在正在推进第一个 preview 版本发布,等 preview1 发布之后,文档等都会逐步跟上。