Downgrade NuGet Packages - Visual Studio
I came across this problem when I was working with the SignalR WebSocket . The project was already included with the references related to SignalR 2 Server application and I wanted to add Newtonsoft.Json library into my project for some json serialization and de-serialization. Added it without a problem, except there was an exception from SignalR. It needed Newtonsoft version 6.0 and adding Newtonsoft again has updated that reference to 9.0 which was the latest update for Newtonsoft. So following is the solution I used for downgrade Newtonsoft.Json back to version 6.0. 1. First you should get the Package Manager Console Window. It is reachable via "TOOLS -> Library Package Manager -> Package Manager Console" . 2. Then you have to uninstall the current version of the library you want to downgrade, by executing the following command in the Package Manager Console. It's very important you use the -Force flag, if there are dependencies to the package ...