Last post Jul 11, 2016 10:32 AM by Rajneesh Verma
Member
31 Points
251 Posts
Jul 07, 2016 03:02 AM|tangara|LINK
I have tried in vain to install the AutoMapper in VS2013, as I am following the example in AS.NET MVC5 with Bootstrap and Knockout.js.
My NuGet Package is up to date for sure.
Join-Path : Cannot bind argument to parameter 'Path' because it is null. At c:\ShoppingCart\packages\jQuery.1.10.2\tools\install.ps1:3 char:13 + . (Join-Path <<<< $toolsPath common.ps1) + CategoryInfo : InvalidData: (:) [Join-Path], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.JoinPathCommand
and this error :
'AutoMapper' already has a dependency defined for 'Microsoft.CSharp'.
And the thing is that I can't find it online at the tool tab there either.
So, basically I can only use NuGET console to install via console but I do not know how the meaning of this error.
Can someone please help ?
All-Star
28988 Points
7251 Posts
Jul 11, 2016 10:32 AM|Rajneesh Verma|LINK
Try to run Visual Studio as Administrator and run PM command in Package Management Console.
PM> Install-Package AutoMapper
https://www.nuget.org/packages/AutoMapper/
Member
31 Points
251 Posts
How to install AutoMapper in VS2013?
Jul 07, 2016 03:02 AM|tangara|LINK
I have tried in vain to install the AutoMapper in VS2013, as I am following the example in AS.NET MVC5 with Bootstrap and Knockout.js.
My NuGet Package is up to date for sure.
Join-Path : Cannot bind argument to parameter 'Path' because it is null.
At c:\ShoppingCart\packages\jQuery.1.10.2\tools\install.ps1:3 char:13
+ . (Join-Path <<<< $toolsPath common.ps1)
+ CategoryInfo : InvalidData: (:) [Join-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.JoinPathCommand
and this error :
'AutoMapper' already has a dependency defined for 'Microsoft.CSharp'.
And the thing is that I can't find it online at the tool tab there either.
So, basically I can only use NuGET console to install via console but I do not know how the meaning of this error.
Can someone please help ?
All-Star
28988 Points
7251 Posts
Re: How to install AutoMapper in VS2013?
Jul 11, 2016 10:32 AM|Rajneesh Verma|LINK
Try to run Visual Studio as Administrator and run PM command in Package Management Console.
PM> Install-Package AutoMapper
https://www.nuget.org/packages/AutoMapper/
www.rajneeshverma.com