JsonHttpClient instantiation fails

When i try to use current version of client from ServiceStack.MyGet feed it fails with
System.TypeLoadException: ‘Method ‘CancelAsync’ in type ‘ServiceStack.JsonHttpClient’ from assembly ‘ServiceStack.HttpClient, Version=, Culture=neutral, PublicKeyToken=02c12cbda47e6587’ does not have an implementation.’
In source code, this seems to be implemented.

Can you try clearing out your NuGet cache, then re-installing:

$ nuget locals all -clear

Clearing cache did not work. It was something solution related i guess.
I started new project using VS templates and updated to 5.0 from scratch.
This resolved the issue.
Thank You for lightning fast response.

1 Like

Likely dirty artifacts in your /bin and /obj folders. Deleting those should fix it also.