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: kenmacpherson **

I got the same thing, goodnews on version 0.9.3 I'll try that.
here's my runtime error:
---
he assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/pi/).

Mono: Failed to load assembly Tweetinvi.WebLogic[0xc83130]

Mono: Could not load file or assembly 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Could not load signature of Tweetinvi.WebLogic.HttpClientWebHelper:GenerateHttpClientFromWebRequest due to: Could not load file or assembly or one of its dependencies.
Mono: Could not load file or assembly 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 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.
Mono: Assembly Loader probing location: '/usr/lib/mono/gac/Autofac.resour


Viewing all articles
Browse latest Browse all 4126

Trending Articles



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