I tried to install http://automapper.org/ but this resulted in an error.
Install-Package : 'AutoMapper' already has a dependency defined for 'Microsoft.CSharp'.
At line:1 char:1
+ Install-Package AutoMapper
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Any ideas?
Check your version of nuget package manager is current and if the version of the .net framework you are using is supported by the nuget package you are trying to install
I was facing the same issue in VS2010 with NuGet package manager 2.8.60318.667 version. so, I have installed the older version of the Automapper 4.0.4 and its work for me.
try to install Install-Package Automapper -Version 4.0.4