maxmind/GeoIP2-dotnet

Could not load type 'RestSharp.HttpBasicAuthenticator' from assembly

chriswill opened this issue · 0 comments

I just installed the client from Nuget and I get a failure that looks like this:

Could not load type 'RestSharp.HttpBasicAuthenticator' from assembly 'RestSharp, Version=105.2.2.0, Culture=neutral, PublicKeyToken=null'.":"RestSharp.HttpBasicAuthenticator"}

on the line in my code that does this:
var webResponse = webServiceClient.City(ipAddress);

I believe your issue is related to RestSharp and sounds a lot like the same problem that Twilio describes here: http://stackoverflow.com/questions/32067529/twilio-restsharp-dependency