Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Commented Issue: Assembly load errors from HttpClientWebHelper on Mono [2519]

$
0
0
Hi there,

When I run Tweetinvi on Mono (3.12) I get the following printout to the console:

Could not load signature of Tweetinvi.WebLogic.HttpClientWebHelper:GenerateHttpClientFromWebRequest due to: Could not load file or assembly or one of its dependencies.
Could not load signature of Tweetinvi.WebLogic.IHttpClientWebHelper:GenerateHttpClientFromWebRequest due to: Could not load file or assembly or one of its dependencies.

This does not happen with 0.9.3 but does happen on 0.9.5.

My code is something like this:
TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials(accessToken, accessTokenSecret, apiKey, apiSecret);
TwitterCredentials.SetCredentials(TI.TwitterCredentials.ApplicationCredentials);
twitstream = Tweetinvi.Stream.CreateFilteredStream();
twitstream.AddTrack("sometags");
twitstream.StartStreamMatchingAnyCondition();

Any suggestions?
Comments: ** Comment from web user: MichaelGGSF **

Hmm, I am using Mono 3.12, I have System.Net.Http (it's part of 4.5 as you say, and in the mono gac default install), and I'm using System.Net.Http in the rest of my code. Thanks for the hint though, I'll start looking along that angle!


Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>