run time error: Could not load file or assembly 'RestSharp, Version=105.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. ...

689 views
Skip to first unread message

Marko Rantala

unread,
Mar 3, 2015, 5:03:30 AM3/3/15
to rest...@googlegroups.com
Hi,

I have  added the example code
"
using RestSharp;
// ...

var client = new RestClient ("http://rxnav.nlm.nih.gov/REST/RxTerms/rxcui/");

var request = new RestRequest (String.Format ("{0}/allinfo", "198440"));
client.ExecuteAsync (request, response => {
Console.WriteLine (response.Content);
});

" to my NinjaTrader code,  added reference to RestSharp.dll and able to compile the code without problem so at least some references are ok.
but at run time next error:
**NT** Failed to call method 'Initialize' for strategy 'RestSharpTest/83cb75a5e30847598fc7ceb1ba2432a3': Could not load file or assembly 'RestSharp, Version=105.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Any idea  what to look or check at?

Not any windows expert so ....

- Marko


Stas Svishov

unread,
Apr 8, 2015, 11:04:54 PM4/8/15
to rest...@googlegroups.com
got same issue... following...
Reply all
Reply to author
Forward
0 new messages