I\'ve looked this question up, but I don\'t see too many answers, and obviously none have been helpful or I wouldn\'t be asking. I am a .NET neophyte.
My local enviro
Thanks for the pointer and the link. After a struggle I got it to work. What finally happened was my friend, an expert in .NET Skyped me and talked me through the proper way of deploying my project to the destination server. I didn't understand that there is a separate folder where your Build goes. I made a "Build Deployment Package" as a zip file. Then I unzipped it on my hard drive, and dropped it into a clean folder on the web server (actually, I uploaded it to the root directory), and voila, it worked.
First step is try to rebuild your project. If it doesn't help: find 'Newtonsoft' in 'Nuget package Manager' and uninstall it. If it have a references => put checkboxes (Remove dependencies, Force uninstall) and in dropdowns (Dependency behavior => Ignore dependencies, File conflict action => Ignore All)
Install 'Newtonsoft' again.
Another possible reason for this issue is if the project is using NuGet packages and they haven't been restored (downloaded) yet.
They may need to be restored in Visual Studio or you can use the nuget.exe command-line executable to restore the packages.
https://docs.nuget.org/consume/package-restore
When you copy files of a solutions, some references can be "lost". Try to delete the reference and add it again, after you copied the files and open in the other machine.
Also, take a look at this question: reference dll not copying to bin with deployment project causing error