Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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..

like image 542
shanmugharaj Avatar asked Dec 15 '22 17:12

shanmugharaj


1 Answers

Install the latest version of NuGet

like image 156
Sievajet Avatar answered Mar 05 '23 04:03

Sievajet