Failed to add reference to 'Newtonsoft.Json' Failed to add reference to 'Newtonsoft.Json' windows windows

Failed to add reference to 'Newtonsoft.Json'


Check if you already have Newtonsoft.Json reference added in packages.config. If yes, delete Newtonsoft.Json entry and retry Install-Package.


Sometimes just removing it from packages.config might not be enough. I had to remove the Newtonsoft.Json directory from the packages-directory, after that installing worked.