Skip to content

Commit 67dbd07

Browse files
author
Michael Hallett
committed
Added nuget targets for windows phone 8 and 8.1, monotouch10, monoandroid10, xamarin.ios10, net46; fixed the silverlight target to be sl5; added all projects to the solution;cleaned up and consolidated the build and packaging scripts;
1 parent d1ecdc3 commit 67dbd07

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1254
-2119
lines changed

.nuget/RestSharp.Build.dll

0 Bytes
Binary file not shown.

.nuget/Signed/RestSharp.Build.dll

512 Bytes
Binary file not shown.

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
### Features
77

8-
* Supports .NET 3.5+, Silverlight 4, Windows Phone 8, Mono, MonoTouch, Mono for Android
8+
* Supports .NET 3.5+, Silverlight 5, Windows Phone 8, Mono, MonoTouch, Mono for Android
99
* Easy installation using [NuGet](http://nuget.org/packages/RestSharp) for most .NET flavors
1010
* Supports strong naming using [NuGet](http://nuget.org/packages/RestSharpSigned) for most .NET flavors
1111
* Automatic XML and JSON deserialization

RestSharp.All.sln

Lines changed: 0 additions & 857 deletions
This file was deleted.

RestSharp.Android/RestSharp.Android.csproj

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,6 @@
3636
<DocumentationFile>bin\Release\RestSharp.xml</DocumentationFile>
3737
<NoWarn>1591,1658,1584,1572,1574</NoWarn>
3838
</PropertyGroup>
39-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
40-
<DebugSymbols>true</DebugSymbols>
41-
<OutputPath>bin\Debug.Xamarin\</OutputPath>
42-
<DefineConstants>TRACE;DEBUG;MONODROID;FRAMEWORK</DefineConstants>
43-
<DebugType>full</DebugType>
44-
<PlatformTarget>AnyCPU</PlatformTarget>
45-
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
46-
<ErrorReport>prompt</ErrorReport>
47-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
48-
<DocumentationFile>bin\Debug.Xamarin\RestSharp.xml</DocumentationFile>
49-
<NoWarn>1591,1658,1584,1572,1574</NoWarn>
50-
</PropertyGroup>
51-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
52-
<OutputPath>bin\Release.Xamarin\</OutputPath>
53-
<DefineConstants>TRACE;MONODROID;FRAMEWORK</DefineConstants>
54-
<Optimize>true</Optimize>
55-
<DebugType>pdbonly</DebugType>
56-
<PlatformTarget>AnyCPU</PlatformTarget>
57-
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
58-
<ErrorReport>prompt</ErrorReport>
59-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
60-
<DocumentationFile>bin\Release.Xamarin\RestSharp.xml</DocumentationFile>
61-
<NoWarn>1591,1658,1584,1572,1574</NoWarn>
62-
</PropertyGroup>
6339
<ItemGroup>
6440
<Reference Include="mscorlib" />
6541
<Reference Include="System" />

RestSharp.Build/RestSharp.Build.Signed.csproj

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,6 @@
4242
<PropertyGroup>
4343
<AssemblyOriginatorKeyFile>..\RestSharp.snk</AssemblyOriginatorKeyFile>
4444
</PropertyGroup>
45-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
46-
<DebugSymbols>true</DebugSymbols>
47-
<OutputPath>bin\DebugSigned.Xamarin\</OutputPath>
48-
<DefineConstants>TRACE;DEBUG;SIGNED</DefineConstants>
49-
<DebugType>full</DebugType>
50-
<PlatformTarget>AnyCPU</PlatformTarget>
51-
<ErrorReport>prompt</ErrorReport>
52-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
53-
</PropertyGroup>
54-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
55-
<OutputPath>bin\ReleaseSigned.Xamarin\</OutputPath>
56-
<DefineConstants>TRACE;SIGNED</DefineConstants>
57-
<Optimize>true</Optimize>
58-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
59-
<DebugType>pdbonly</DebugType>
60-
<PlatformTarget>AnyCPU</PlatformTarget>
61-
<ErrorReport>prompt</ErrorReport>
62-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
63-
</PropertyGroup>
6445
<ItemGroup>
6546
<Reference Include="Microsoft.Build.Framework" />
6647
<Reference Include="Microsoft.Build.Utilities.v3.5" />
@@ -82,7 +63,8 @@
8263
</ItemGroup>
8364
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8465
<PropertyGroup>
85-
<PostBuildEvent>copy /Y $(TargetPath) $(SolutionDir).nuget\Signed\$(TargetFileName)</PostBuildEvent>
66+
<PostBuildEvent>
67+
</PostBuildEvent>
8668
</PropertyGroup>
8769
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8870
Other similar extension points exist, see Microsoft.Common.targets.

RestSharp.Build/RestSharp.Build.csproj

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,6 @@
3434
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3535
<Prefer32Bit>false</Prefer32Bit>
3636
</PropertyGroup>
37-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
38-
<DebugSymbols>true</DebugSymbols>
39-
<OutputPath>bin\Debug.Xamarin\</OutputPath>
40-
<DefineConstants>DEBUG;TRACE</DefineConstants>
41-
<DebugType>full</DebugType>
42-
<PlatformTarget>AnyCPU</PlatformTarget>
43-
<ErrorReport>prompt</ErrorReport>
44-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
45-
</PropertyGroup>
46-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
47-
<OutputPath>bin\Release.Xamarin\</OutputPath>
48-
<DefineConstants>TRACE</DefineConstants>
49-
<Optimize>true</Optimize>
50-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
51-
<DebugType>pdbonly</DebugType>
52-
<PlatformTarget>AnyCPU</PlatformTarget>
53-
<ErrorReport>prompt</ErrorReport>
54-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
55-
</PropertyGroup>
5637
<ItemGroup>
5738
<Reference Include="Microsoft.Build.Framework" />
5839
<Reference Include="Microsoft.Build.Utilities.v3.5" />
@@ -69,7 +50,8 @@
6950
</ItemGroup>
7051
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7152
<PropertyGroup>
72-
<PostBuildEvent>copy /Y "$(TargetPath)" "$(SolutionDir).nuget\$(TargetFileName)"</PostBuildEvent>
53+
<PostBuildEvent>
54+
</PostBuildEvent>
7355
</PropertyGroup>
7456
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7557
Other similar extension points exist, see Microsoft.Common.targets.

RestSharp.IntegrationTests/RestSharp.IntegrationTests.Signed.csproj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,24 +51,6 @@
5151
<PropertyGroup>
5252
<AssemblyOriginatorKeyFile>..\RestSharp.snk</AssemblyOriginatorKeyFile>
5353
</PropertyGroup>
54-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
55-
<DebugSymbols>true</DebugSymbols>
56-
<OutputPath>bin\DebugSigned.Xamarin\</OutputPath>
57-
<DefineConstants>TRACE;DEBUG;FRAMEWORK, NET4, SIGNED</DefineConstants>
58-
<DebugType>full</DebugType>
59-
<PlatformTarget>AnyCPU</PlatformTarget>
60-
<ErrorReport>prompt</ErrorReport>
61-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
62-
</PropertyGroup>
63-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
64-
<OutputPath>bin\ReleaseSigned.Xamarin\</OutputPath>
65-
<DefineConstants>TRACE;FRAMEWORK, NET4, SIGNED</DefineConstants>
66-
<Optimize>true</Optimize>
67-
<DebugType>pdbonly</DebugType>
68-
<PlatformTarget>AnyCPU</PlatformTarget>
69-
<ErrorReport>prompt</ErrorReport>
70-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
71-
</PropertyGroup>
7254
<ItemGroup>
7355
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
7456
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>

RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,6 @@
5252
<ErrorReport>prompt</ErrorReport>
5353
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
5454
</PropertyGroup>
55-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
56-
<DebugSymbols>true</DebugSymbols>
57-
<OutputPath>bin\Debug.Xamarin\</OutputPath>
58-
<DefineConstants>TRACE;DEBUG;FRAMEWORK, NET4</DefineConstants>
59-
<DebugType>full</DebugType>
60-
<PlatformTarget>AnyCPU</PlatformTarget>
61-
<ErrorReport>prompt</ErrorReport>
62-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
63-
</PropertyGroup>
64-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
65-
<OutputPath>bin\Release.Xamarin\</OutputPath>
66-
<DefineConstants>TRACE</DefineConstants>
67-
<Optimize>true</Optimize>
68-
<DebugType>pdbonly</DebugType>
69-
<PlatformTarget>AnyCPU</PlatformTarget>
70-
<ErrorReport>prompt</ErrorReport>
71-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
72-
</PropertyGroup>
7355
<ItemGroup>
7456
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
7557
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>

RestSharp.MonoTouch/RestSharp.MonoTouch.csproj

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,6 @@
3939
<DocumentationFile>bin\Release\RestSharp.xml</DocumentationFile>
4040
<NoWarn>1591,1658,1584,1572,1574</NoWarn>
4141
</PropertyGroup>
42-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
43-
<DebugSymbols>true</DebugSymbols>
44-
<OutputPath>bin\Debug.Xamarin\</OutputPath>
45-
<DefineConstants>__MOBILE__;__IOS__;DEBUG;MONOTOUCH;FRAMEWORK</DefineConstants>
46-
<DebugType>full</DebugType>
47-
<PlatformTarget>AnyCPU</PlatformTarget>
48-
<UseVSHostingProcess>false</UseVSHostingProcess>
49-
<ErrorReport>prompt</ErrorReport>
50-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
51-
<DocumentationFile>bin\Debug.Xamarin\RestSharp.xml</DocumentationFile>
52-
<NoWarn>1591,1658,1584,1572,1574</NoWarn>
53-
</PropertyGroup>
54-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
55-
<OutputPath>bin\Release.Xamarin\</OutputPath>
56-
<DefineConstants>__MOBILE__;__IOS__;MONOTOUCH;FRAMEWORK</DefineConstants>
57-
<PlatformTarget>AnyCPU</PlatformTarget>
58-
<UseVSHostingProcess>false</UseVSHostingProcess>
59-
<ErrorReport>prompt</ErrorReport>
60-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
61-
<DocumentationFile>bin\Release.Xamarin\RestSharp.xml</DocumentationFile>
62-
<NoWarn>1591,1658,1584,1572,1574</NoWarn>
63-
</PropertyGroup>
6442
<ItemGroup>
6543
<Reference Include="System" />
6644
<Reference Include="System.Xml" />

0 commit comments

Comments
 (0)