JsonSerializer exception from Facebook C # SDK

I get an error message:

"The type initializer for the 'Facebook.JsonSerializer'selected exception."

with a more specific error:

"Failed to load the file or assembly 'Newtonsoft.Json, Version=4.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'or one of its dependencies. The system cannot find the specified file."

+3
source share
1 answer

Ok, I found a problem, so there is a problem for everyone here:

You need the Newtonsoft JSON library, which you can download from:

http://json.codeplex.com/Release/ProjectReleases.aspx

I used Newtonsoft.Json.dll in the Net directory .

, , , . InnerException :)

+3

All Articles