Solved

Newton.Json version problems

Posted on 2014-09-03
1
181 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

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…
New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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