Solved

Newton.Json version problems

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

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now