Error CS0012 The type 'IUnityContainer' is defined in an assembly that is not referenced

2.6k Views Asked by At

The IUnityContainer property "Container" exist in intellisense but the implementation reference is not found. The fix is pointing to an earlier version of Unity, (4.0.0.0). I'm using version 5.3.2. Is there an additional reference I can Add to fix the error?

The figure is the error: Error CS0012 The type 'IUnityContainer' is defined in an assembly that is not referenced. install Microsoft.Practices.Unity 4.0.0.0. And the second figure are the NuGet packages I currently installed.

Thank you for your support and answer.

King

Reference to old version of Unity NuGet packages referenced

0

There are 0 best solutions below