PDA

View Full Version : Json



makhondi
یک شنبه 25 فروردین 1398, 00:07 صبح
سلام دوستان

یه نمونه برای کار با داده Json میخوام. VB.net

در ضمن خطای زیر در نصب Newtonsoft رخ داد. مشکل چیه



PM> Install-Package Newtonsoft.Json
Install-Package : The 'Newtonsoft.Json 12.0.1' package requires NuGet client version '2.12' or above,
but the current NuGet version is '2.7.40911.287'.
At line:1 char:1
+ Install-Package Newtonsoft.Json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], NuGetVersionNotSatisfiedException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Com mands.InstallPackageC
ommand


PM> Install-Package Newtonsoft.Json
Install-Package : The 'Newtonsoft.Json 12.0.1' package requires NuGet client version '2.12' or above,
but the current NuGet version is '2.7.40911.287'.
At line:1 char:1
+ Install-Package Newtonsoft.Json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], NuGetVersionNotSatisfiedException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Com mands.InstallPackageC
ommand

anubis_ir
یک شنبه 25 فروردین 1398, 06:52 صبح
معناش اين هست كه nuget نصب شده‌ي با ويژوال استوديوي شما خيلي قديمي هست. يا ويژوال استوديو رو به روز كنيد و يا
Tools->Extensions and Updates -> Updates->Visual Studio Gallery-> Update the NuGet Package Manager extension