Added buffer pool with leak check
[pithos-ms-client] / trunk / Pithos.Network / Pithos.Network.csproj
index 66f3e86..cf62baa 100644 (file)
@@ -14,6 +14,8 @@
     <FileAlignment>512</FileAlignment>\r
     <CodeContractsAssemblyMode>0</CodeContractsAssemblyMode>\r
     <TargetFrameworkProfile>Client</TargetFrameworkProfile>\r
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>\r
+    <RestorePackages>true</RestorePackages>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
@@ -57,6 +59,7 @@
     <DefineConstants>TRACE</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
+    <PlatformTarget>AnyCPU</PlatformTarget>\r
   </PropertyGroup>\r
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DefineConstants>TRACE</DefineConstants>\r
     <Optimize>true</Optimize>\r
     <DebugType>pdbonly</DebugType>\r
-    <PlatformTarget>x64</PlatformTarget>\r
+    <PlatformTarget>x86</PlatformTarget>\r
     <CodeAnalysisLogFile>bin\Release\Pithos.Network.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>\r
     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>\r
     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>\r
     <Reference Include="log4net">\r
       <HintPath>..\Libraries\log4net.dll</HintPath>\r
     </Reference>\r
-    <Reference Include="ManagedOpenSsl">\r
+    <Reference Include="ManagedOpenSsl, Version=0.6.0.0, Culture=neutral, PublicKeyToken=2cc55badaa91f4de, processorArchitecture=x86">\r
+      <SpecificVersion>False</SpecificVersion>\r
       <HintPath>..\Libraries\OpenSSL\ManagedOpenSsl.dll</HintPath>\r
     </Reference>\r
     <Reference Include="Microsoft.CompilerServices.AsyncTargetingPack.Net4">\r
       <HintPath>..\packages\Microsoft.CompilerServices.AsyncTargetingPack.1.0.0\lib\net40\Microsoft.CompilerServices.AsyncTargetingPack.Net4.dll</HintPath>\r
     </Reference>\r
+    <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>..\packages\Newtonsoft.Json.4.5.10\lib\net40\Newtonsoft.Json.dll</HintPath>\r
+    </Reference>\r
     <Reference Include="System" />\r
     <Reference Include="System.ComponentModel.Composition" />\r
     <Reference Include="System.Core" />\r
+    <Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">\r
+      <HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>\r
+    </Reference>\r
+    <Reference Include="System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">\r
+      <HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>\r
+    </Reference>\r
     <Reference Include="System.ServiceModel" />\r
+    <Reference Include="System.ServiceModel.Channels" />\r
     <Reference Include="System.Threading.Tasks.Dataflow">\r
       <HintPath>..\Libraries\System.Threading.Tasks.Dataflow.dll</HintPath>\r
     </Reference>\r
     </Compile>\r
     <Compile Include="AccountInfo.cs" />\r
     <Compile Include="BlockHashAlgorithms.cs" />\r
+    <Compile Include="BufferPool.cs" />\r
+    <Compile Include="ByteArrayContentWithProgress.cs" />\r
     <Compile Include="CloudFilesClient.cs" />\r
     <Compile Include="ContainerInfo.cs" />\r
+    <Compile Include="DownloadArgs.cs" />\r
+    <Compile Include="FileBlockContent.cs" />\r
+    <Compile Include="HttpRequestWithStatusException.cs" />\r
     <Compile Include="ICloudClient.cs" />\r
     <Compile Include="MD5BlockCalculator.cs" />\r
     <Compile Include="NoModificationInfo.cs" />\r
       <SubType>Component</SubType>\r
     </Compile>\r
     <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="SHA1OpenSSL.cs" />\r
     <Compile Include="Signature.cs" />\r
     <Compile Include="TreeHash.cs" />\r
+    <Compile Include="UploadArgs.cs" />\r
     <Compile Include="WebExtensions.cs" />\r
   </ItemGroup>\r
   <ItemGroup>\r
-    <ProjectReference Include="..\Libraries\Json40r2\Source\Src\Newtonsoft.Json\Newtonsoft.Json.csproj">\r
-      <Project>{A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}</Project>\r
-      <Name>Newtonsoft.Json</Name>\r
-    </ProjectReference>\r
     <ProjectReference Include="..\Libraries\ParallelExtensionsExtras\ParallelExtensionsExtras.csproj">\r
       <Project>{C45218F8-09E7-4F57-85BC-5D8D2AC736A3}</Project>\r
       <Name>ParallelExtensionsExtras</Name>\r
     <None Include="packages.config" />\r
     <None Include="pithos.snk" />\r
   </ItemGroup>\r
-  <ItemGroup>\r
-    <Content Include="..\Libraries\OpenSSL\libeay32.dll">\r
-      <Link>libeay32.dll</Link>\r
-      <CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
-    </Content>\r
-    <Content Include="..\Libraries\OpenSSL\ssleay32.dll">\r
-      <Link>ssleay32.dll</Link>\r
-      <CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
-    </Content>\r
-  </ItemGroup>\r
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
+  <Import Project="$(SolutionDir)\.nuget\nuget.targets" />\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
        Other similar extension points exist, see Microsoft.Common.targets.\r
   <Target Name="BeforeBuild">\r