OctopusClients no longer internalizes NewtonSoft.Json
matt-richardson opened this issue · comments
Matt Richardson commented
We historically had ilmerged newtonsoft.json into Octopus.Clients, but when the repo was split to move octo.exe into it's own repo, this ilmerge was removed.
As lots of our sample scripts (eg https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/Octopus.Client/PowerShell/Projects/CreateProject.ps1) just go Add-Type -Path 'Octopus.Client.dll'
and dont highlight that we need to go Add-Type -Path 'NewtonSoft.Json.dll'
as well - this has broken a bunch of use cases.