Unhandled Exception in RestSharp.dll

245 views
Skip to first unread message

aba...@tibco.com

unread,
Feb 1, 2018, 11:11:51 AM2/1/18
to RestSharp
When I attempt to use RestSharp with the 

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in RestSharp.dll

Additional information: Could not load file or assembly 'System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

I've tried different posted solutions on StackOverflow, like editing the .csproj are app.config of my project to try and make this work but it doesn't.

Is there a solution for this error.  I would like to use RestSharp in my project.

Thanks!
Andy

Alexey Zimarev

unread,
Feb 3, 2018, 5:31:12 AM2/3/18
to RestSharp
I am not sure why this happens since clearly RestSharp has a dependency on System.ValueTuple package https://www.nuget.org/packages/RestSharp/ and it should have been installed by your Nuget client together with RestSharp.

I plant to remove the dependency in the next version.

Joel Christner

unread,
Apr 14, 2018, 1:13:25 PM4/14/18
to RestSharp
May be a silly question, but did you make sure System.ValueTuple.dll was in the directory when you tried to execute your app?  Had this happen to me and I had stupidly neglected to copy the DLL.
Reply all
Reply to author
Forward
0 new messages