Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Newton.Json version problems

Posted on 2014-09-03
1
Medium Priority
?
209 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 2000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
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.
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

730 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