Cannot provide a value for property 'ScrollToLocationHash' on type 'Microsoft.AspNetCore.Components.Routing.Router'. There is no registered service of type 'Microsoft.AspNetCore.Components.Routing.IScrollToLocationHash'. 异常信息: at Microsoft.AspNetCore.Components.ComponentFactory.<>c__DisplayClass9_0.<CreatePropertyInjector>g__Initialize|1(IServiceProvider serviceProvider, IComponent component) at Microsoft.AspNetCore.Components.ComponentFactory.InstantiateComponent(IServiceProvider serviceProvider, Type componentType, IComponentRenderMode callerSpecifiedRenderMode, Nullable`1 parentComponentId)
更新nuget 里 微软包的 版本 和你 net 版本一致
标签:__,AspNetCore,问题,Routing,Components,解决,IServiceProvider,blazor,Microsoft From: https://www.cnblogs.com/liujian1368928/p/18029360