Solved

Newton.Json version problems

Posted on 2014-09-03
1
179 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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…

822 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