Can't add external reference to Newtonsoft.Json
Can't add external reference to Newtonsoft.Json
06 Nov 2019, 09:15
Hi there:
I have added an external library reference to my Visual Studio cBot project. It compiles and works fine in Visual Studio.
However, cTrader won't recognize it. I can't debug with it.
Screen capture showing the reference in Visual Studio where it compiles fine:
cTrader won't build it:
And under references for the project in cTrader:
What am I doing wrong?
Thank you,
Replies
firemyst
06 Nov 2019, 09:35
( Updated at: 21 Dec 2023, 09:21 )
RE:
Panagiotis Charalampous said:
Hi FireMyst,
Can you try installing the package using NuGet? I just did it and works like a charm.
Best Regards,
Panagiotis
Thanks for the suggestion. I did this twice through Visual Studio.
The first time I thought it went ok as everything worked in Visual Studio.
With your reply, I went through and did it again, and like you said, it's working for me now too.
So thank you. I'm not sure what happened the first time around. I suppose I should have tried installing it again before posting. :-/
@firemyst
PanagiotisCharalampous
06 Nov 2019, 09:23
Hi FireMyst,
Can you try installing the package using NuGet? I just did it and works like a charm.
Best Regards,
Panagiotis
@PanagiotisCharalampous