Sameer M

Sameer M

  • 1.9k
  • 19
  • 1.4k

Unable to build after uninstalling Newtonsoft.json

Sep 20 2017 1:19 PM
I installed the newtonsoft.json component using NuGet manager.
Decided against using json in my app but when I uninstall the component, I am unable to builld my solution.  Keep getting the the following error - 
Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Newtonsoft.Json, Version=, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Perhaps it doesn't exist in the Mono for Android profile?
I have checked in the packages.config file and indeed everywhere in my solution to see if "json" is referenced anywhere - nope.
I did notice that even if i install v10.0.2 of the component, the error msg keeps mentioning version= 
Tried Visual Studio Community 2017 restart, clean solution, rebuild, reinstall, re-uninstall in multiple combinations, several times, but no luck.
Can someone tell me how to get to the root of this? Somewhere there must be a reference to this assembly in some file which I can edit manually?

Brought to you by:

Answers (1)