Skip to content

Commit fa894e8

Browse files
committed
Merge pull request #491 from bicycle-nerd/wp8
Windows Phone 8 Project File
2 parents abb57a2 + b36c648 commit fa894e8

File tree

5 files changed

+371
-4
lines changed

5 files changed

+371
-4
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("RestSharp.WindowsPhone")]
9+
10+
// Setting ComVisible to false makes the types in this assembly not visible
11+
// to COM components. If you need to access a type in this assembly from
12+
// COM, set the ComVisible attribute to true on that type.
13+
[assembly: ComVisible(false)]
14+
15+
// The following GUID is for the ID of the typelib if this project is exposed to COM
16+
[assembly: Guid("edd38716-2ef8-46c4-8730-c4ed8bc12eed")]
Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,348 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>10.0.20506</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{71647E33-714F-4975-8368-71B075045272}</ProjectGuid>
9+
<ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
10+
<OutputType>Library</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<RootNamespace>RestSharp.WindowsPhone</RootNamespace>
13+
<AssemblyName>RestSharp.WindowsPhone</AssemblyName>
14+
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
15+
<SilverlightVersion>
16+
</SilverlightVersion>
17+
<TargetFrameworkProfile>
18+
</TargetFrameworkProfile>
19+
<TargetFrameworkIdentifier>WindowsPhone</TargetFrameworkIdentifier>
20+
<SilverlightApplication>false</SilverlightApplication>
21+
<ValidateXaml>true</ValidateXaml>
22+
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
23+
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
26+
<DebugSymbols>true</DebugSymbols>
27+
<DebugType>full</DebugType>
28+
<Optimize>false</Optimize>
29+
<OutputPath>Bin\Debug</OutputPath>
30+
<DefineConstants>TRACE;DEBUG;WINDOWS_PHONE;MANGO;WP8</DefineConstants>
31+
<NoStdLib>true</NoStdLib>
32+
<NoConfig>true</NoConfig>
33+
<ErrorReport>prompt</ErrorReport>
34+
<WarningLevel>4</WarningLevel>
35+
<DocumentationFile>
36+
</DocumentationFile>
37+
<Prefer32Bit>false</Prefer32Bit>
38+
</PropertyGroup>
39+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
40+
<DebugType>pdbonly</DebugType>
41+
<Optimize>true</Optimize>
42+
<OutputPath>Bin\Release</OutputPath>
43+
<DefineConstants>TRACE;WINDOWS_PHONE;MANGO;WP8</DefineConstants>
44+
<NoStdLib>true</NoStdLib>
45+
<NoConfig>true</NoConfig>
46+
<ErrorReport>prompt</ErrorReport>
47+
<WarningLevel>4</WarningLevel>
48+
<DocumentationFile>
49+
</DocumentationFile>
50+
<Prefer32Bit>false</Prefer32Bit>
51+
</PropertyGroup>
52+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
53+
<DebugSymbols>true</DebugSymbols>
54+
<OutputPath>Bin\x86\Debug</OutputPath>
55+
<DefineConstants>TRACE;DEBUG;WINDOWS_PHONE;MANGO</DefineConstants>
56+
<DocumentationFile>Bin\Debug\RestSharp.WindowsPhone.xml</DocumentationFile>
57+
<NoStdLib>true</NoStdLib>
58+
<DebugType>full</DebugType>
59+
<PlatformTarget>
60+
</PlatformTarget>
61+
<ErrorReport>prompt</ErrorReport>
62+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
63+
<Optimize>false</Optimize>
64+
</PropertyGroup>
65+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
66+
<OutputPath>Bin\x86\Release</OutputPath>
67+
<DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
68+
<DocumentationFile>Bin\Release\RestSharp.WindowsPhone.xml</DocumentationFile>
69+
<Optimize>true</Optimize>
70+
<NoStdLib>true</NoStdLib>
71+
<DebugType>pdbonly</DebugType>
72+
<PlatformTarget>
73+
</PlatformTarget>
74+
<ErrorReport>prompt</ErrorReport>
75+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
76+
</PropertyGroup>
77+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
78+
<DebugSymbols>true</DebugSymbols>
79+
<OutputPath>Bin\ARM\Debug</OutputPath>
80+
<DefineConstants>TRACE;DEBUG;WINDOWS_PHONE;MANGO</DefineConstants>
81+
<DocumentationFile>Bin\Debug\RestSharp.WindowsPhone.xml</DocumentationFile>
82+
<NoStdLib>true</NoStdLib>
83+
<DebugType>full</DebugType>
84+
<PlatformTarget>
85+
</PlatformTarget>
86+
<ErrorReport>prompt</ErrorReport>
87+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
88+
<Optimize>false</Optimize>
89+
</PropertyGroup>
90+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
91+
<OutputPath>Bin\ARM\Release</OutputPath>
92+
<DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
93+
<DocumentationFile>Bin\Release\RestSharp.WindowsPhone.xml</DocumentationFile>
94+
<Optimize>true</Optimize>
95+
<NoStdLib>true</NoStdLib>
96+
<DebugType>pdbonly</DebugType>
97+
<PlatformTarget>
98+
</PlatformTarget>
99+
<ErrorReport>prompt</ErrorReport>
100+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
101+
</PropertyGroup>
102+
<ItemGroup>
103+
<Compile Include="..\RestSharp.Net4\Extensions\ResponseStatusExtensions.cs">
104+
<Link>Extensions\ResponseStatusExtensions.cs</Link>
105+
</Compile>
106+
<Compile Include="..\restsharp\authenticators\HttpBasicAuthenticator.cs">
107+
<Link>Authenticators\HttpBasicAuthenticator.cs</Link>
108+
</Compile>
109+
<Compile Include="..\restsharp\authenticators\IAuthenticator.cs">
110+
<Link>Authenticators\IAuthenticator.cs</Link>
111+
</Compile>
112+
<Compile Include="..\restsharp\authenticators\NtlmAuthenticator.cs">
113+
<Link>Authenticators\NtlmAuthenticator.cs</Link>
114+
</Compile>
115+
<Compile Include="..\RestSharp\Authenticators\OAuth1Authenticator.cs">
116+
<Link>Authenticators\OAuth1Authenticator.cs</Link>
117+
</Compile>
118+
<Compile Include="..\restsharp\authenticators\OAuth2Authenticator.cs">
119+
<Link>Authenticators\OAuth2Authenticator.cs</Link>
120+
</Compile>
121+
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\CollectionExtensions.cs">
122+
<Link>Authenticators\OAuth\Extensions\CollectionExtensions.cs</Link>
123+
</Compile>
124+
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\OAuthExtensions.cs">
125+
<Link>Authenticators\OAuth\Extensions\OAuthExtensions.cs</Link>
126+
</Compile>
127+
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\StringExtensions.cs">
128+
<Link>Authenticators\OAuth\Extensions\StringExtensions.cs</Link>
129+
</Compile>
130+
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\TimeExtensions.cs">
131+
<Link>Authenticators\OAuth\Extensions\TimeExtensions.cs</Link>
132+
</Compile>
133+
<Compile Include="..\RestSharp\Authenticators\OAuth\HttpPostParameter.cs">
134+
<Link>Authenticators\OAuth\HttpPostParameter.cs</Link>
135+
</Compile>
136+
<Compile Include="..\RestSharp\Authenticators\OAuth\HttpPostParameterType.cs">
137+
<Link>Authenticators\OAuth\HttpPostParameterType.cs</Link>
138+
</Compile>
139+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthParameterHandling.cs">
140+
<Link>Authenticators\OAuth\OAuthParameterHandling.cs</Link>
141+
</Compile>
142+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthSignatureMethod.cs">
143+
<Link>Authenticators\OAuth\OAuthSignatureMethod.cs</Link>
144+
</Compile>
145+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthSignatureTreatment.cs">
146+
<Link>Authenticators\OAuth\OAuthSignatureTreatment.cs</Link>
147+
</Compile>
148+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthTools.cs">
149+
<Link>Authenticators\OAuth\OAuthTools.cs</Link>
150+
</Compile>
151+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthType.cs">
152+
<Link>Authenticators\OAuth\OAuthType.cs</Link>
153+
</Compile>
154+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthWebQueryInfo.cs">
155+
<Link>Authenticators\OAuth\OAuthWebQueryInfo.cs</Link>
156+
</Compile>
157+
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthWorkflow.cs">
158+
<Link>Authenticators\OAuth\OAuthWorkflow.cs</Link>
159+
</Compile>
160+
<Compile Include="..\RestSharp\Authenticators\OAuth\WebPair.cs">
161+
<Link>Authenticators\OAuth\WebPair.cs</Link>
162+
</Compile>
163+
<Compile Include="..\RestSharp\Authenticators\OAuth\WebPairCollection.cs">
164+
<Link>Authenticators\OAuth\WebPairCollection.cs</Link>
165+
</Compile>
166+
<Compile Include="..\RestSharp\Authenticators\OAuth\WebParameter.cs">
167+
<Link>Authenticators\OAuth\WebParameter.cs</Link>
168+
</Compile>
169+
<Compile Include="..\RestSharp\Authenticators\OAuth\WebParameterCollection.cs">
170+
<Link>Authenticators\OAuth\WebParameterCollection.cs</Link>
171+
</Compile>
172+
<Compile Include="..\restsharp\authenticators\SimpleAuthenticator.cs">
173+
<Link>Authenticators\SimpleAuthenticator.cs</Link>
174+
</Compile>
175+
<Compile Include="..\RestSharp\Compression\ZLib\Crc32.cs">
176+
<Link>Compression\ZLib\Crc32.cs</Link>
177+
</Compile>
178+
<Compile Include="..\RestSharp\Compression\ZLib\FlushType.cs">
179+
<Link>Compression\ZLib\FlushType.cs</Link>
180+
</Compile>
181+
<Compile Include="..\RestSharp\Compression\ZLib\GZipStream.cs">
182+
<Link>Compression\ZLib\GZipStream.cs</Link>
183+
</Compile>
184+
<Compile Include="..\RestSharp\Compression\ZLib\Inflate.cs">
185+
<Link>Compression\ZLib\Inflate.cs</Link>
186+
</Compile>
187+
<Compile Include="..\RestSharp\Compression\ZLib\InfTree.cs">
188+
<Link>Compression\ZLib\InfTree.cs</Link>
189+
</Compile>
190+
<Compile Include="..\RestSharp\Compression\ZLib\ZLib.cs">
191+
<Link>Compression\ZLib\ZLib.cs</Link>
192+
</Compile>
193+
<Compile Include="..\RestSharp\Compression\ZLib\ZLibCodec.cs">
194+
<Link>Compression\ZLib\ZLibCodec.cs</Link>
195+
</Compile>
196+
<Compile Include="..\RestSharp\Compression\ZLib\ZLibConstants.cs">
197+
<Link>Compression\ZLib\ZLibConstants.cs</Link>
198+
</Compile>
199+
<Compile Include="..\RestSharp\Compression\ZLib\ZLibStream.cs">
200+
<Link>Compression\ZLib\ZLibStream.cs</Link>
201+
</Compile>
202+
<Compile Include="..\restsharp\deserializers\DeserializeAsAttribute.cs">
203+
<Link>Deserializers\DeserializeAsAttribute.cs</Link>
204+
</Compile>
205+
<Compile Include="..\RestSharp\Deserializers\DotNetXmlDeserializer.cs">
206+
<Link>Deserializers\DotNetXmlDeserializer.cs</Link>
207+
</Compile>
208+
<Compile Include="..\restsharp\deserializers\IDeserializer.cs">
209+
<Link>Deserializers\IDeserializer.cs</Link>
210+
</Compile>
211+
<Compile Include="..\restsharp\deserializers\JsonDeserializer.cs">
212+
<Link>Deserializers\JsonDeserializer.cs</Link>
213+
</Compile>
214+
<Compile Include="..\restsharp\deserializers\XmlAttributeDeserializer.cs">
215+
<Link>Deserializers\XmlAttributeDeserializer.cs</Link>
216+
</Compile>
217+
<Compile Include="..\restsharp\deserializers\XmlDeserializer.cs">
218+
<Link>Deserializers\XmlDeserializer.cs</Link>
219+
</Compile>
220+
<Compile Include="..\RestSharp\Enum.cs">
221+
<Link>Enum.cs</Link>
222+
</Compile>
223+
<Compile Include="..\restsharp\extensions\MiscExtensions.cs">
224+
<Link>Extensions\MiscExtensions.cs</Link>
225+
</Compile>
226+
<Compile Include="..\restsharp\extensions\ReflectionExtensions.cs">
227+
<Link>Extensions\ReflectionExtensions.cs</Link>
228+
</Compile>
229+
<Compile Include="..\restsharp\extensions\StringExtensions.cs">
230+
<Link>Extensions\StringExtensions.cs</Link>
231+
</Compile>
232+
<Compile Include="..\RestSharp\Extensions\ResponseExtensions.cs">
233+
<Link>Extensions\ResponseExtensions.cs</Link>
234+
</Compile>
235+
<Compile Include="..\restsharp\extensions\XmlExtensions.cs">
236+
<Link>Extensions\XmlExtensions.cs</Link>
237+
</Compile>
238+
<Compile Include="..\RestSharp\FileParameter.cs">
239+
<Link>FileParameter.cs</Link>
240+
</Compile>
241+
<Compile Include="..\RestSharp\Http.Async.cs">
242+
<Link>Http.Async.cs</Link>
243+
</Compile>
244+
<Compile Include="..\RestSharp\Http.cs">
245+
<Link>Http.cs</Link>
246+
</Compile>
247+
<Compile Include="..\RestSharp\HttpCookie.cs">
248+
<Link>HttpCookie.cs</Link>
249+
</Compile>
250+
<Compile Include="..\RestSharp\HttpFile.cs">
251+
<Link>HttpFile.cs</Link>
252+
</Compile>
253+
<Compile Include="..\RestSharp\HttpHeader.cs">
254+
<Link>HttpHeader.cs</Link>
255+
</Compile>
256+
<Compile Include="..\RestSharp\HttpParameter.cs">
257+
<Link>HttpParameter.cs</Link>
258+
</Compile>
259+
<Compile Include="..\RestSharp\HttpResponse.cs">
260+
<Link>HttpResponse.cs</Link>
261+
</Compile>
262+
<Compile Include="..\RestSharp\IHttp.cs">
263+
<Link>IHttp.cs</Link>
264+
</Compile>
265+
<Compile Include="..\RestSharp\IHttpFactory.cs">
266+
<Link>IHttpFactory.cs</Link>
267+
</Compile>
268+
<Compile Include="..\RestSharp\IHttpResponse.cs">
269+
<Link>IHttpResponse.cs</Link>
270+
</Compile>
271+
<Compile Include="..\RestSharp\IRestClient.cs">
272+
<Link>IRestClient.cs</Link>
273+
</Compile>
274+
<Compile Include="..\RestSharp\IRestRequest.cs">
275+
<Link>IRestRequest.cs</Link>
276+
</Compile>
277+
<Compile Include="..\RestSharp\IRestResponse.cs">
278+
<Link>IRestResponse.cs</Link>
279+
</Compile>
280+
<Compile Include="..\RestSharp\Parameter.cs">
281+
<Link>Parameter.cs</Link>
282+
</Compile>
283+
<Compile Include="..\RestSharp\RestClient.Async.cs">
284+
<Link>RestClient.Async.cs</Link>
285+
</Compile>
286+
<Compile Include="..\RestSharp\RestClient.cs">
287+
<Link>RestClient.cs</Link>
288+
</Compile>
289+
<Compile Include="..\RestSharp\RestClientExtensions.cs">
290+
<Link>RestClientExtensions.cs</Link>
291+
</Compile>
292+
<Compile Include="..\RestSharp\RestRequest.cs">
293+
<Link>RestRequest.cs</Link>
294+
</Compile>
295+
<Compile Include="..\RestSharp\RestResponse.cs">
296+
<Link>RestResponse.cs</Link>
297+
</Compile>
298+
<Compile Include="..\RestSharp\RestResponseCookie.cs">
299+
<Link>RestResponseCookie.cs</Link>
300+
</Compile>
301+
<Compile Include="..\RestSharp\Serializers\DotNetXmlSerializer.cs">
302+
<Link>Serializers\DotNetXmlSerializer.cs</Link>
303+
</Compile>
304+
<Compile Include="..\restsharp\serializers\ISerializer.cs">
305+
<Link>Serializers\ISerializer.cs</Link>
306+
</Compile>
307+
<Compile Include="..\restsharp\serializers\JsonSerializer.cs">
308+
<Link>Serializers\JsonSerializer.cs</Link>
309+
</Compile>
310+
<Compile Include="..\restsharp\serializers\SerializeAsAttribute.cs">
311+
<Link>Serializers\SerializeAsAttribute.cs</Link>
312+
</Compile>
313+
<Compile Include="..\restsharp\serializers\XmlSerializer.cs">
314+
<Link>Serializers\XmlSerializer.cs</Link>
315+
</Compile>
316+
<Compile Include="..\RestSharp\SharedAssemblyInfo.cs">
317+
<Link>SharedAssemblyInfo.cs</Link>
318+
</Compile>
319+
<Compile Include="..\RestSharp\SimpleJson.cs">
320+
<Link>SimpleJson.cs</Link>
321+
</Compile>
322+
<Compile Include="..\restsharp\validation\Require.cs">
323+
<Link>Validation\Require.cs</Link>
324+
</Compile>
325+
<Compile Include="..\restsharp\validation\Validate.cs">
326+
<Link>Validation\Validate.cs</Link>
327+
</Compile>
328+
<Compile Include="..\RestSharp\RestRequestAsyncHandle.cs">
329+
<Link>RestRequestAsyncHandle.cs</Link>
330+
</Compile>
331+
<Compile Include="Properties\AssemblyInfo.cs" />
332+
</ItemGroup>
333+
<ItemGroup>
334+
<None Include="packages.config">
335+
<SubType>Designer</SubType>
336+
</None>
337+
</ItemGroup>
338+
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" />
339+
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).CSharp.targets" />
340+
<ProjectExtensions />
341+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
342+
Other similar extension points exist, see Microsoft.Common.targets.
343+
<Target Name="BeforeBuild">
344+
</Target>
345+
<Target Name="AfterBuild">
346+
</Target>
347+
-->
348+
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
</packages>

RestSharp/IRestClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Net;
1919
using System.Collections.Generic;
2020
using System.Security.Cryptography.X509Certificates;
21-
#if NET4 || MONODROID || MONOTOUCH
21+
#if NET4 || MONODROID || MONOTOUCH || WP8
2222
using System.Threading;
2323
using System.Threading.Tasks;
2424
#endif
@@ -133,7 +133,7 @@ public interface IRestClient
133133
IRestResponse<T> ExecuteAsPost<T>(IRestRequest request, string httpMethod) where T : new();
134134
#endif
135135

136-
#if NET4 || MONODROID || MONOTOUCH
136+
#if NET4 || MONODROID || MONOTOUCH || WP8
137137
/// <summary>
138138
/// Executes the request and callback asynchronously, authenticating if needed
139139
/// </summary>

0 commit comments

Comments
 (0)