Can not install NuGet package

Jaster picture Jaster · Apr 25, 2014 · Viewed 16.6k times · Source

I am trying to add the Unity package to my solution, but I keep receiving the listed message:

Attempting to resolve dependency 'Unity (≥ 3.5.1404.0)'.

'Unity' already has a dependency defined for 'CommonServiceLocator'.

Any Idea how to fix this?

Answer

Rao Ehsan picture Rao Ehsan · Apr 27, 2014

This problem arises with older version of nuget. Update nuget PM, 2.8.50313.46 is current version, Look for the latest for VS 2012