Install-Package : Unable to find package 'Newtonsoft.Json'.

  • Thread starter Thread starter rpfinnimore
  • Start date Start date
R

rpfinnimore

Guest
Hi,

Try to use the Package Manager Console to get Json but getting an exception


PM> Install-Package Newtonsoft.Json
Install-Package : Unable to find package 'Newtonsoft.Json'.
At line:1 char:1
+ Install-Package Newtonsoft.Json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand


I have the Package source specified as nuget.org and my default project specified correctly.

Could someone kindly show me what I'm doing wrong?

Do I have to download something before accessing the package? When I use the command

PM> get-help NuGet

I get all the help info.

When I use the command

PM> Get-Package

Id Version Description/Release Notes
-- ------- -------------------------
AspNet.ScriptManager.jQuery 1.7.1 This package contains the AspNet.ScriptManager.jQuery assembly that will automatically register jQuery 1.7.1 with the Scrip...
AspNet.ScriptManager.jQuery... 1.8.20 This package contains the AspNet.ScriptManager.jQuery.UI.Combined assembly that will automatically register jQuery.UI.Combin...
Atlassian.SDK 2.2.0 Utilities to interact with Atlassian products. Contains LinqToJira provider for querying JIRA Issue tracker (http://www.atla...
DotNetOpenAuth.AspNet 4.0.3.12153 Enables web site visitors to log into an ASP.NET web application via popular identity providers,...
DotNetOpenAuth.Core 4.0.3.12153 This package contains shared code for other NuGet packages, and contains no public API in and of itself.
DotNetOpenAuth.OAuth.Consumer 4.0.3.12153 Improve usability, reliability, conversion rates and security simultaneously by simply asking the user for permission to acc...
DotNetOpenAuth.OAuth.Core 4.0.3.12153 This package contains shared code for other NuGet packages, and contains no public API in and of itself.
DotNetOpenAuth.OpenId.Core 4.0.3.12153 This package contains shared code for other NuGet packages, and contains no public API in and of itself.
DotNetOpenAuth.OpenId.Relyi... 4.0.3.12153 Increase conversion rates to your web site by lowering the bar to create an account with your site,...
EntityFramework 5.0.0 Entity Framework is Microsoft's recommended data access technology for new applications.
jQuery 1.7.1.1 jQuery is a new kind of JavaScript Library....
jQuery.UI.Combined 1.8.20.1 jQuery UI is an open source library of interface components — interactions, full-featured widgets, and animation effects — b...
Microsoft.AspNet.Membership... 1.0.0 A series of helpers to enable using DotNetOpenAuth in an ASP.NET application that utilizes the Membership system for user ma...
Microsoft.AspNet.Providers.... 1.1 ASP.NET Universal Providers add provider support in ASP.NET 4 for all editions of SQL Server 2005 and later and to SQL Azure...
Microsoft.AspNet.Providers.... 1.1 ASP.NET Universal Providers add provider support in ASP.NET 4 for all editions of SQL Server 2005 and later and to SQL Azure...
Microsoft.AspNet.ScriptMana... 4.5.6 This package contains the Microsoft.ScriptManager.MSAjax assembly that will automatically register the Microsoft Ajax optimi...
Microsoft.AspNet.ScriptMana... 4.5.6 This package contains the Microsoft.ScriptManager.WebForms assembly that will automatically register the Microsoft Ajax opti...
Microsoft.AspNet.Web.Optimi... 1.0.0 ASP.NET Optimization introduces a way to bundle and optimize css/js files.
Microsoft.AspNet.Web.Optimi... 1.0.0 A WebForms control for Microsoft.AspNet.Web.Optimization
Microsoft.Web.Infrastructure 1.0.0.0 This package contains the Microsoft.Web.Infrastructure assembly that lets you dynamically register HTTP modules at run time.
Modernizr 2.5.3 Modernizr adds classes to the <html> element which allow you to target specific browser functionality in your stylesheet. Yo...
WebGrease 1.1.0 Web Grease is a suite of tools for optimizing javascript, css files and images.

and I don't see Newtonsoft.Json specified in the list


Thanks for any help, Roscoe

Continue reading...
 
Back
Top