{"action":"created","issue":{"url":"https://api.github.com/repos/linvi/tweetinvi/issues/95","repository_url":"https://api.github.com/repos/linvi/tweetinvi","labels_url":"https://api.github.com/repos/linvi/tweetinvi/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/linvi/tweetinvi/issues/95/comments","events_url":"https://api.github.com/repos/linvi/tweetinvi/issues/95/events","html_url":"https://github.com/linvi/tweetinvi/issues/95","id":121866074,"number":95,"title":"System.TypeInitializationException in system.net.http.primitives","user":{"login":"sumowesley","id":5694619,"avatar_url":"https://avatars.githubusercontent.com/u/5694619?v=3","gravatar_id":"","url":"https://api.github.com/users/sumowesley","html_url":"https://github.com/sumowesley","followers_url":"https://api.github.com/users/sumowesley/followers","following_url":"https://api.github.com/users/sumowesley/following{/other_user}","gists_url":"https://api.github.com/users/sumowesley/gists{/gist_id}","starred_url":"https://api.github.com/users/sumowesley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumowesley/subscriptions","organizations_url":"https://api.github.com/users/sumowesley/orgs","repos_url":"https://api.github.com/users/sumowesley/repos","events_url":"https://api.github.com/users/sumowesley/events{/privacy}","received_events_url":"https://api.github.com/users/sumowesley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-12T16:56:21Z","updated_at":"2016-04-18T21:39:53Z","closed_at":"2015-12-14T10:36:09Z","body":"I've installed Tweetinvi via Nuget but get the following message when I try to set the credentials for my twitter session.\r\n\r\nSystem.TypeInitializationException: The type initializer for 'Tweetinvi.Auth' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n   at Tweetinvi.WebLogic.TweetinviWebLogicModule.Initialize()\r\n   at Tweetinvi.Injectinvi.AutofacContainer.InitializeModules()\r\n   at Tweetinvi.Injectinvi.AutofacContainer.Initialize()\r\n   at Tweetinvi.TweetinviContainer.Resolve[T]()\r\n   at Tweetinvi.Auth.Initialize()\r\n   at Tweetinvi.Auth..cctor()\r\n   --- End of inner exception stack trace ---\r\n\r\nThere is a System.Net.Http.Primitives file in my binaries with version 4.2.29.0\r\n\r\nIs there a dependency on something else?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/linvi/tweetinvi/issues/comments/211594141","html_url":"https://github.com/linvi/tweetinvi/issues/95#issuecomment-211594141","issue_url":"https://api.github.com/repos/linvi/tweetinvi/issues/95","id":211594141,"user":{"login":"linvi","id":6107439,"avatar_url":"https://avatars.githubusercontent.com/u/6107439?v=3","gravatar_id":"","url":"https://api.github.com/users/linvi","html_url":"https://github.com/linvi","followers_url":"https://api.github.com/users/linvi/followers","following_url":"https://api.github.com/users/linvi/following{/other_user}","gists_url":"https://api.github.com/users/linvi/gists{/gist_id}","starred_url":"https://api.github.com/users/linvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linvi/subscriptions","organizations_url":"https://api.github.com/users/linvi/orgs","repos_url":"https://api.github.com/users/linvi/repos","events_url":"https://api.github.com/users/linvi/events{/privacy}","received_events_url":"https://api.github.com/users/linvi/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T21:39:52Z","updated_at":"2016-04-18T21:39:52Z","body":"Portable Class or not, the library should work for every project targeting .NET Framework 4.0 and later.\r\n\r\nIf you are experiencing a problem with Tweetinvi, please let me know the version of Tweetinvi you are trying to use, the .NET Framework you are targeting and the type of project you are working on (Console, WPF, ASP.NET, iOS, Android, Rasbery Pi...).\r\n\r\nPS : If you attempted to install Tweetinvi 0.9.12.0 with a .NET Framework 4.0, the merged binaries on nuget did not work properly. Please upgrade to 0.9.12.1."}}