2012-12-24 29 views
0

工作我試圖使用RestSharp的第一次,但沒有一個例子,我發現與當前版本的工作。例如,入門例如導致以下錯誤:RestSharp例子並不在最新版本

'RestSharp.RestClient' does not contain a definition for 'Execute' and no extension method 'Execute' accepting a first argument of type 'RestSharp.RestClient' could be found (are you missing a using directive or an assembly reference?)

有誰知道在哪裏可以使用RestSharp 103.x找到工作的例子嗎?

回答

0

根據GitHub issueExecute方法不可用在某些平臺上。您可能需要使用不同的RestSharp DLL或使用ExecuteAsync方法。