在测试项目的ServiceCollectionRegistrar类提前注册。
abp xunit Can not register IHostingEnvironment. It should be a non-abstract class. If not, it should be registered before.”
猜你喜欢
转载自www.cnblogs.com/zinan/p/10305875.html
今日推荐
周排行