Solved

Newton.Json version problems

Posted on 2014-09-03
1
180 Views
Last Modified: 2014-09-10
I've got a call to a webAPI service using Newton.Json:

response = await client.PostAsJsonAsync(method, data);

but when I make the call I get an IO error looking for version 6 of Newton.Json (I'm on version 5.0.4). The only other package reference I've got in my project are Microsoft.AspNet.WebApi.Client version 5.0.0 - which has a dependency for Newson.Json of at least version 4.5.

Any ideas why this could be happening? I'm using Visual Studio 2013 with IIS.
0
Comment
Question by:purplesoup
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 40302527
Right-click your solution file, and then go to "Manage NuGet Packages." Look for the Newtonsoft packages; select each and click the "Manage" button. You should get a tree view showing what versions of which libraries are applied to each project in the solution. You can consolidate and/or remove the libraries that aren't being used.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question