Krognol / discordify

Discord rich presence app for Spotify
MIT License
4 stars 0 forks source link

Newtonsoft.Json not found #8

Closed Jonathing closed 6 years ago

Jonathing commented 6 years ago

https://i.imgur.com/wcU5bOD.png And the following shows up in Visual Studio: 1>------ Build started: Project: discordify, Configuration: Debug Any CPU ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 1> discordify -> D:\Users\jonat\gitother\discordify\discordify\bin\Debug\discordify.exe ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Jonathing commented 6 years ago

I'm using the master branch; I directly cloned Discordify.

odevine commented 6 years ago

Fixed this by installing newtonsoft.json directly via nuget and then rebuilding the solution

Krognol commented 6 years ago

Newtonsoft.Json should be linked in the solution, but install it via Nuget, as suggested by odevine.

Jonathing commented 6 years ago

Then include that in the readme in case others have the same problem in the future.