Posted By Brian Dukes on 23 Jan 2020 09:40 AM
Also, adding DNN 9.4 NuGet packages should automatically pull in DotNetNuke.Abstractions and DotNetNuke.DependencyInjection
I still have problems, I can't find any DNN packages when browsing using the NuGet Packet Manager (in VS 2019).
Anyway, I set the references to DotNetNuke.Abstractions, DotNetNuke.DependenyInjection and Microsoft.Extensions.DependencyInjection manually, but still get this error:
NavigationManager = DependencyProvider.GetRequiredService<INavigationManager>();
'IServiceProvider' does not contain a definition for 'GetRequiredService' and no accessible extension method 'GetRequiredService' accepting a first argument of type 'IServiceProvider' could be found (are you missing a using directive or an assembly reference?)