Getting Started... or trying to anyway

Jul 10, 2014 at 7:50 PM
Edited Jul 10, 2014 at 7:51 PM
I have installed version 0.9.3.4 via nuget in my VS 2013 (4.5) (VB) website project.
Each time I run TwitterCredentials.SetCredentials() I get the following exeption.

The type initializer for 'Tweetinvi.TwitterCredentials' threw an exception.

I have downloaded your the source code and had no problem getting the test project up and running as well as getting the winforms demo you provided up and running as well.

As far as I can tell, I have all the prerequisites.

Any ideas?
Coordinator
Jul 10, 2014 at 8:45 PM
I am not sure I understand what is going wrong. You are invoking the TwitterCredentials and it fails?
Never got anyone with this problem. Would you please send me the complete callstack.

Linvi
Jul 10, 2014 at 8:47 PM
Figured it out. I had to update my newtonsoft.json reference. Working great now. Thanks

Sent from my iPhone

Jul 11, 2014 at 8:41 PM
Hi! Have same problem (c#). Newtonsoft.json is updated, but SetCredentials threw exception. How to fix?