Abp vNext 2.x升级.net 6遇到的坑爹事件:There is no tenant with the tenant id or name: xxxxx
Tenant not found!
There is no tenant with the tenant id or name: 3a02f174-cadb-0cad-7bb7-b04a57a69170
服务的xxxxHttpApiHostModule.cs必须注册AbpTenantManagementEntityFrameworkCoreModule才行
把这三个加上
Configure<AbpMultiTenancyOptions>(options =>
{
options.IsEnabled = MultiTenancyConsts.IsEnabled;
});
if (MultiTenancyConsts.IsEnabled)
{
app.UseMultiTenancy();
}
再加上这两个
坑了我一天服了.收工