abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.84k stars 3.42k forks source link

Component Not Registered Exception #8301

Closed mudasir-alp77 closed 3 years ago

mudasir-alp77 commented 3 years ago

Hi i am making the theme by using the base of "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Themes". When i make i all changes in my customise themes. and then i link to with my asp.net core ui in abp framework and run the project its thoroughgoing me this exception . kindly help me how i do this. thanks

ComponentNotRegisteredException: The requested service 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Themes.Basic.Components.MainNavbar.MainNavbarViewComponent' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.

image

maliming commented 3 years ago

hi

You can check this pr https://github.com/abpframework/abp/pull/8057

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.