Skip to content

Commit 930b0e7

Browse files
committed
Add HttpClient PCL project
1 parent 927f8f3 commit 930b0e7

2 files changed

Lines changed: 109 additions & 0 deletions

File tree

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
6+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8+
<ProjectGuid>{D35A83DA-61E4-4315-AE02-4D30956467FF}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>ServiceStack</RootNamespace>
12+
<AssemblyName>ServiceStack.HttpClient</AssemblyName>
13+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
14+
<TargetFrameworkProfile>Profile7</TargetFrameworkProfile>
15+
<FileAlignment>512</FileAlignment>
16+
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
17+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
18+
<RestorePackages>true</RestorePackages>
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
21+
<DebugSymbols>true</DebugSymbols>
22+
<DebugType>full</DebugType>
23+
<Optimize>false</Optimize>
24+
<OutputPath>bin\PclDebug\</OutputPath>
25+
<DefineConstants>TRACE;DEBUG;PCL</DefineConstants>
26+
<ErrorReport>prompt</ErrorReport>
27+
<WarningLevel>4</WarningLevel>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30+
<DebugType>pdbonly</DebugType>
31+
<Optimize>true</Optimize>
32+
<OutputPath>bin\Pcl\</OutputPath>
33+
<DefineConstants>TRACE;PCL</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<!-- A reference to the entire .NET Framework is automatically included -->
39+
<ProjectReference Include="..\ServiceStack.Interfaces\ServiceStack.Interfaces.csproj">
40+
<Project>{55942102-033a-4da8-a6af-1db7b2f34a2d}</Project>
41+
<Name>ServiceStack.Interfaces</Name>
42+
</ProjectReference>
43+
</ItemGroup>
44+
<ItemGroup>
45+
<Compile Include="JsonHttpClient.cs" />
46+
<Compile Include="Properties\AssemblyInfo.cs" />
47+
</ItemGroup>
48+
<ItemGroup>
49+
<Reference Include="ServiceStack.Client">
50+
<HintPath>..\..\lib\pcl\ServiceStack.Client.dll</HintPath>
51+
</Reference>
52+
<Reference Include="ServiceStack.Text">
53+
<HintPath>..\..\lib\pcl\ServiceStack.Text.dll</HintPath>
54+
</Reference>
55+
</ItemGroup>
56+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
57+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
58+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
59+
<PropertyGroup>
60+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
61+
</PropertyGroup>
62+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
63+
</Target>
64+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
65+
Other similar extension points exist, see Microsoft.Common.targets.
66+
<Target Name="BeforeBuild">
67+
</Target>
68+
<Target Name="AfterBuild">
69+
</Target>
70+
-->
71+
</Project>

src/ServiceStack.sln

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{EB65E771
4646
..\NuGet\ServiceStack.Common\servicestack.common.nuspec = ..\NuGet\ServiceStack.Common\servicestack.common.nuspec
4747
..\NuGet\ServiceStack.Host.AspNet\servicestack.host.aspnet.nuspec = ..\NuGet\ServiceStack.Host.AspNet\servicestack.host.aspnet.nuspec
4848
..\NuGet\ServiceStack.Host.Mvc\servicestack.host.mvc.nuspec = ..\NuGet\ServiceStack.Host.Mvc\servicestack.host.mvc.nuspec
49+
..\NuGet\ServiceStack.HttpClient\servicestack.httpclient.nuspec = ..\NuGet\ServiceStack.HttpClient\servicestack.httpclient.nuspec
4950
..\NuGet\ServiceStack.Interfaces\servicestack.interfaces.nuspec = ..\NuGet\ServiceStack.Interfaces\servicestack.interfaces.nuspec
5051
..\NuGet\ServiceStack.Logging.Elmah\servicestack.logging.elmah.nuspec = ..\NuGet\ServiceStack.Logging.Elmah\servicestack.logging.elmah.nuspec
5152
..\NuGet\ServiceStack.Logging.EntLib5\servicestack.logging.entlib5.nuspec = ..\NuGet\ServiceStack.Logging.EntLib5\servicestack.logging.entlib5.nuspec
@@ -165,6 +166,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Caching.AwsDyn
165166
EndProject
166167
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.HttpClient", "ServiceStack.HttpClient\ServiceStack.HttpClient.csproj", "{C05DE4A1-84C5-481B-8BD4-C837A1303B01}"
167168
EndProject
169+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.HttpClient.PCL", "ServiceStack.HttpClient\ServiceStack.HttpClient.PCL.csproj", "{D35A83DA-61E4-4315-AE02-4D30956467FF}"
170+
EndProject
168171
Global
169172
GlobalSection(SolutionConfigurationPlatforms) = preSolution
170173
Debug|Any CPU = Debug|Any CPU
@@ -1744,6 +1747,41 @@ Global
17441747
{C05DE4A1-84C5-481B-8BD4-C837A1303B01}.STATIC_ONLY NO_EXPRESSIONS|Mixed Platforms.ActiveCfg = Release|Any CPU
17451748
{C05DE4A1-84C5-481B-8BD4-C837A1303B01}.STATIC_ONLY NO_EXPRESSIONS|Mixed Platforms.Build.0 = Release|Any CPU
17461749
{C05DE4A1-84C5-481B-8BD4-C837A1303B01}.STATIC_ONLY NO_EXPRESSIONS|x86.ActiveCfg = Release|Any CPU
1750+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1751+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
1752+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
1753+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
1754+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Debug|x86.ActiveCfg = Debug|Any CPU
1755+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoDebug|Any CPU.ActiveCfg = Debug|Any CPU
1756+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoDebug|Any CPU.Build.0 = Debug|Any CPU
1757+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoDebug|Mixed Platforms.ActiveCfg = Debug|Any CPU
1758+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoDebug|Mixed Platforms.Build.0 = Debug|Any CPU
1759+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoDebug|x86.ActiveCfg = Debug|Any CPU
1760+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoRelease|Any CPU.ActiveCfg = Release|Any CPU
1761+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoRelease|Any CPU.Build.0 = Release|Any CPU
1762+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoRelease|Mixed Platforms.ActiveCfg = Release|Any CPU
1763+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoRelease|Mixed Platforms.Build.0 = Release|Any CPU
1764+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoRelease|x86.ActiveCfg = Release|Any CPU
1765+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoTouch|Any CPU.ActiveCfg = Release|Any CPU
1766+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoTouch|Any CPU.Build.0 = Release|Any CPU
1767+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoTouch|Mixed Platforms.ActiveCfg = Release|Any CPU
1768+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoTouch|Mixed Platforms.Build.0 = Release|Any CPU
1769+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.MonoTouch|x86.ActiveCfg = Release|Any CPU
1770+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
1771+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Release|Any CPU.Build.0 = Release|Any CPU
1772+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
1773+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
1774+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Release|x86.ActiveCfg = Release|Any CPU
1775+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Signed|Any CPU.ActiveCfg = Release|Any CPU
1776+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Signed|Any CPU.Build.0 = Release|Any CPU
1777+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Signed|Mixed Platforms.ActiveCfg = Release|Any CPU
1778+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Signed|Mixed Platforms.Build.0 = Release|Any CPU
1779+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.Signed|x86.ActiveCfg = Release|Any CPU
1780+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.STATIC_ONLY NO_EXPRESSIONS|Any CPU.ActiveCfg = Release|Any CPU
1781+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.STATIC_ONLY NO_EXPRESSIONS|Any CPU.Build.0 = Release|Any CPU
1782+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.STATIC_ONLY NO_EXPRESSIONS|Mixed Platforms.ActiveCfg = Release|Any CPU
1783+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.STATIC_ONLY NO_EXPRESSIONS|Mixed Platforms.Build.0 = Release|Any CPU
1784+
{D35A83DA-61E4-4315-AE02-4D30956467FF}.STATIC_ONLY NO_EXPRESSIONS|x86.ActiveCfg = Release|Any CPU
17471785
EndGlobalSection
17481786
GlobalSection(SolutionProperties) = preSolution
17491787
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)