Is Uri available in some other assembly than System in .NET 3.5, or how can I resolve Uri in this RestSharp code otherwise?
问题 I am trying to get a bare bones bit of RestSharp into my Windows CE / Compact Framework 3.5 app. This minimalistic code: RestClient client = new RestClient("http://192.164.144.42:72921/"); RestRequest request = new RestRequest("api/vendorItems/", Method.GET); RestResponse response = client.Execute(request) as RestResponse; string content = response.Content; // raw content as string ...first caused a problem because I had to change this: RestResponse response = client.Execute(request); ...to