So, my app was using Unity Container v2 for dependency injection. Now I'm migrating it to 5+ using NUGET packages, however I'm having issues regarding the classes resolution.
var searchClient = IocContainer.Resolve<DocumentSearch>();
Is giving me
The non-generic method 'IUnityContainer.Resolve(Type, string, params ResolverOverride[])' cannot be used with type arguments App.Super.Web.App D:\Repo\git1601\App.Super.Web.App\API\ApiControllers\DocumentsController.cs
I've changed the imports from Microsoft.Pratices.Unity to Unity only as the packages changed, but still its not working. Any ideas ?