shanmugharaj
shanmugharaj

Reputation: 3924

How to install MVVMLight through nuget

I need to add MVVM Light toolkit to an existing project. I run nuget command.. My project is in 4.5 Framework. I got this error

Attempting to resolve dependency 'MvvmLightLibs (≥ 5.0.2.0)'.
Install-Package : 'MvvmLightLibs' already has a dependency defined for 'CommonServiceLocator'.
At line:1 char:16
+ Install-Package <<<<  MvvmLight
+ CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPa 
ckageCommand

I installed through extensions and updates and it got installed but when i tried to create a new mvvm project using visual studion wizard same this dependency error arises.

How to resolve this..

Upvotes: 4

Views: 3150

Answers (2)

CJ_
CJ_

Reputation: 79

i agrees with Sievajet. solved the same problem by upgrading to the latest version of NuGet

Upvotes: 0

Sievajet
Sievajet

Reputation: 3513

Install the latest version of NuGet

Upvotes: 11

Related Questions