Skip to content

Commit e182a81

Browse files
author
Michael Hallett
committed
added build configuration for xamarin projects in all solution
1 parent 3c3a89e commit e182a81

28 files changed

+1037
-158
lines changed

.nuget/RestSharp.Build.dll

-512 Bytes
Binary file not shown.

.nuget/Signed/RestSharp.Build.dll

-1 KB
Binary file not shown.

RestSharp.All.sln

Lines changed: 467 additions & 152 deletions
Large diffs are not rendered by default.

RestSharp.Android/RestSharp.Android.csproj

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@
3232
<WarningLevel>4</WarningLevel>
3333
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
3434
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
36+
<DebugSymbols>true</DebugSymbols>
37+
<OutputPath>bin\Debug\</OutputPath>
38+
<DefineConstants>TRACE;DEBUG;MONODROID;FRAMEWORK</DefineConstants>
39+
<DebugType>full</DebugType>
40+
<PlatformTarget>AnyCPU</PlatformTarget>
41+
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
42+
<ErrorReport>prompt</ErrorReport>
43+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
44+
<DocumentationFile>bin\Debug\RestSharp.XML</DocumentationFile>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
47+
<OutputPath>bin\Release\</OutputPath>
48+
<DefineConstants>TRACE;MONODROID;FRAMEWORK</DefineConstants>
49+
<Optimize>true</Optimize>
50+
<DebugType>pdbonly</DebugType>
51+
<PlatformTarget>AnyCPU</PlatformTarget>
52+
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
53+
<ErrorReport>prompt</ErrorReport>
54+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
55+
</PropertyGroup>
3556
<ItemGroup>
3657
<Reference Include="mscorlib" />
3758
<Reference Include="System" />

RestSharp.Build/RestSharp.Build.Signed.csproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,25 @@
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\</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\</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>
4564
<ItemGroup>
4665
<Reference Include="Microsoft.Build.Framework" />
4766
<Reference Include="Microsoft.Build.Utilities.v3.5" />

RestSharp.Build/RestSharp.Build.csproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,25 @@
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\</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\</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>
3756
<ItemGroup>
3857
<Reference Include="Microsoft.Build.Framework" />
3958
<Reference Include="Microsoft.Build.Utilities.v3.5" />

RestSharp.IntegrationTests/RestSharp.IntegrationTests.Signed.csproj

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@
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\</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\</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>
5472
<ItemGroup>
5573
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
5674
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>

RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,26 @@
4343
<NoWarn>
4444
</NoWarn>
4545
</PropertyGroup>
46-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugAppveyor|AnyCPU'">
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Appveyor|AnyCPU'">
4747
<DebugSymbols>true</DebugSymbols>
48-
<OutputPath>bin\DebugAppveyor\</OutputPath>
48+
<OutputPath>bin\Debug\</OutputPath>
4949
<DefineConstants>TRACE;DEBUG;FRAMEWORK, NET4, APPVEYOR</DefineConstants>
5050
<DebugType>full</DebugType>
5151
<PlatformTarget>AnyCPU</PlatformTarget>
5252
<ErrorReport>prompt</ErrorReport>
5353
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
5454
</PropertyGroup>
55-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseAppveyor|AnyCPU'">
56-
<OutputPath>bin\ReleaseAppveyor\</OutputPath>
55+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
56+
<DebugSymbols>true</DebugSymbols>
57+
<OutputPath>bin\Debug\</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\</OutputPath>
5766
<DefineConstants>TRACE</DefineConstants>
5867
<Optimize>true</Optimize>
5968
<DebugType>pdbonly</DebugType>

RestSharp.MonoTouch/RestSharp.MonoTouch.csproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,25 @@
3535
<MtouchArch>ARMv6</MtouchArch>
3636
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
3737
</PropertyGroup>
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
39+
<DebugSymbols>true</DebugSymbols>
40+
<OutputPath>bin\Debug\</OutputPath>
41+
<DefineConstants>__MOBILE__;__IOS__;DEBUG;MONOTOUCH;FRAMEWORK</DefineConstants>
42+
<DebugType>full</DebugType>
43+
<PlatformTarget>AnyCPU</PlatformTarget>
44+
<UseVSHostingProcess>false</UseVSHostingProcess>
45+
<ErrorReport>prompt</ErrorReport>
46+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
47+
<DocumentationFile>bin\Debug\RestSharp.XML</DocumentationFile>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
50+
<OutputPath>bin\Release\</OutputPath>
51+
<DefineConstants>__MOBILE__;__IOS__;MONOTOUCH;FRAMEWORK</DefineConstants>
52+
<PlatformTarget>AnyCPU</PlatformTarget>
53+
<UseVSHostingProcess>false</UseVSHostingProcess>
54+
<ErrorReport>prompt</ErrorReport>
55+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
56+
</PropertyGroup>
3857
<ItemGroup>
3958
<Reference Include="System" />
4059
<Reference Include="System.Xml" />

RestSharp.Net4.Client/RestSharp.Net4.Client.Signed.csproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,29 @@
4949
<PropertyGroup>
5050
<DelaySign>false</DelaySign>
5151
</PropertyGroup>
52+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug.Xamarin|AnyCPU'">
53+
<DebugSymbols>true</DebugSymbols>
54+
<OutputPath>bin\DebugSigned\</OutputPath>
55+
<DefineConstants>TRACE;DEBUG;FRAMEWORK, NET4, SIGNED</DefineConstants>
56+
<DocumentationFile>bin\DebugSigned\RestSharp.xml</DocumentationFile>
57+
<NoWarn>1591,1584,1572,1574,1658</NoWarn>
58+
<DebugType>full</DebugType>
59+
<PlatformTarget>AnyCPU</PlatformTarget>
60+
<ErrorReport>prompt</ErrorReport>
61+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
62+
</PropertyGroup>
63+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release.Xamarin|AnyCPU'">
64+
<OutputPath>bin\ReleaseSigned\</OutputPath>
65+
<DefineConstants>TRACE;FRAMEWORK, NET4, SIGNED</DefineConstants>
66+
<DocumentationFile>bin\ReleaseSigned\RestSharp.xml</DocumentationFile>
67+
<Optimize>true</Optimize>
68+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
69+
<NoWarn>1591,1573,1658,1584,1574,1572</NoWarn>
70+
<DebugType>pdbonly</DebugType>
71+
<PlatformTarget>AnyCPU</PlatformTarget>
72+
<ErrorReport>prompt</ErrorReport>
73+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
74+
</PropertyGroup>
5275
<ItemGroup>
5376
<Reference Include="System" />
5477
<Reference Include="System.Core" />

0 commit comments

Comments
 (0)