Dependency cycle error #916
When I try to run the ASP.NET Zero Solution (download was in the end of last week) I get the following error:
Castle.Windsor Warning: 0 : Exception when resolving optional dependency Dependency 'FeatureValueStore' type 'Abp.Application.Features.IFeatureValueStore' on component Abp.Application.Features.FeatureChecker., Castle.MicroKernel.CircularDependencyException: Dependency cycle has been detected when trying to resolve component 'MyProject.Authorization.Users.UserManager'. The resolution tree that resulted in the cycle is the following: Component 'MyProject.Authorization.Users.UserManager' resolved as dependency of component 'MyProject.MultiTenancy.Demo.TenantDemoDataBuilder' resolved as dependency of component 'MyProject.MultiTenancy.TenantManager' resolved as dependency of component 'MyProject.Editions.FeatureValueStore' resolved as dependency of component 'Abp.Application.Features.FeatureChecker' resolved as dependency of component 'Abp.Application.Features.FeatureDependencyContext' resolved as dependency of component 'MyProject.Authorization.Users.UserManager' resolved as dependency of component 'MyProject.Authorization.PermissionChecker' resolved as dependency of component 'MyProject.Web.Controllers.HomeController' which is the root component being resolved.
So far I didn't change anything in the code. Except some workarounds for .NET 4.6 features since I am using Visual Studio 2013 with .NET 4.5.2. But I do not think, that this has anything to do with the dependency resolution problem. Looking forward to fix this problem.
Thank you for informing us. Please follow this Github issue: https://github.com/aspnetzero/aspnet-zero/issues/163 We will resolve it soon.
This issue is moved to https://github.com/aspnetboilerplate/mo ... issues/183 and fixed as well. You need to update your abp nuget packages.
But if you upgrade v0.9.0.0 or above there is a breaking change about DATABASE PER TENANT ARCHITECTURE. https://github.com/aspnetboilerplate/mo ... g/v0.9.0.0
If you dont want this breaking change just update your abp packages to 0.8.4.
Also, if you can share your github username, we can invite you to private repository.