I have an aspnet core 1.0 project targeting net451. When trying to run my app, I get a FileNotFoundException because Octopus.Client is depending on Newtonsoft.Json 7.0.1. But because the core libraries are depending on Newtonsoft.Json 9.0.0, I can’t seem to load both versions. Since this is an aspnet core project, I don’t think it’s possible to do any bindingredirect trickery as previously outlined in http://help.octopusdeploy.com/discussions/problems/41549-octopusclient-requiring-the-wrong-version-of-newtonsoftjson. How can I resolve my issue?
Hi Nithin,
Thanks for getting in touch!
Would it be possible for you to share a simple project that exhibits this issue to help us figure out a workaround?
Thank you and warm regards,
Henrik
Oh man, this turned out to be a side effect of migrating my project from RC2 to RTM. There were apparently a lot of turds in the xproj, project.json, and leftover goo in the bin and obj folders. Once I cleaned everything up and modeled the xproj and project.json against a fresh RTM project, my original project worked again. Sorry for the trouble!! This can be closed.