2011-05-05 67 views
1

我有一個問題添加REstsharp.dll的參考。它說:錯誤,同時添加restsharp參考

「引用不能添加到d:\ Vinay sree \ RestSharp-101.2 \ RestSharp.dll,因爲它不是使用Windows Phone運行時構建的,Windows Phone項目只能與Windows Phone程序集配合使用。 「

添加restsharp.dll引用時出錯。因爲博客中給出的示例不起作用,因爲它給出的錯誤Execute方法無法解析。

回答

2

添加對RestSharp.WindowsPhone.dll和Newtonsoft.Json.WindowsPhone.dll的引用,因爲這些是特定於手機的版本。