Skip to content

Commit 0ff49a3

Browse files
committed
Merge pull request #86 from glennblock/dev
Dev
2 parents a69b937 + b62b3d9 commit 0ff49a3

File tree

6 files changed

+22
-5
lines changed

6 files changed

+22
-5
lines changed

src/CollectionJson.Client/CollectionJson.Client.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
4-
<id>WebApiContrib.Formatting.CollectionJson.Client</id>
4+
<id>CollectionJson.Client</id>
55
<version>$version$</version>
66
<title>Collection+Json Client Library</title>
77
<authors>Glenn Block</authors>
@@ -15,7 +15,7 @@
1515
<tags>collectionjson httpclient</tags>
1616
<dependencies>
1717
<dependency id="Microsoft.AspNet.WebApi.Client" version="5.0"/>
18-
<dependency id="WebApiContrib.CollectionJson" />
18+
<dependency id="CollectionJson" />
1919
</dependencies>
2020
</metadata>
2121
<files>

src/CollectionJson.Server/CollectionJson.Server.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
<HintPath>..\packages\Newtonsoft.Json.6.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
4141
</Reference>
4242
<Reference Include="System" />
43-
<Reference Include="System.Core" />
4443
<Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
4544
<HintPath>..\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
4645
</Reference>

src/CollectionJson.Server/CollectionJson.Server.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
</dependencies>
1919
</metadata>
2020
<files>
21-
<file src="bin\Release\WebApiContrib.Formatting.CollectionJson.Server.dll" target="lib\net45\WebApiContrib.Formatting.CollectionJson.Server.dll" />
21+
<file src="bin\Release\CollectionJson.Server.dll" target="lib\net45" />
2222
</files>
2323
</package>

test/CollectionJson.Server.Tests/CollectionJson.Server.Tests.csproj

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,20 @@
4848
<HintPath>..\..\src\packages\Should.1.1.20\lib\Should.dll</HintPath>
4949
</Reference>
5050
<Reference Include="System" />
51-
<Reference Include="System.Core" />
5251
<Reference Include="System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
5352
<HintPath>..\..\src\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll</HintPath>
5453
</Reference>
54+
<Reference Include="System.Net.Http.Extensions">
55+
<HintPath>..\..\src\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Extensions.dll</HintPath>
56+
</Reference>
5557
<Reference Include="System.Net.Http.Formatting, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
5658
<SpecificVersion>False</SpecificVersion>
5759
<HintPath>..\..\src\packages\Microsoft.AspNet.WebApi.Client.5.2.0\lib\net45\System.Net.Http.Formatting.dll</HintPath>
5860
</Reference>
61+
<Reference Include="System.Net.Http.Primitives, Version=4.2.22.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
62+
<SpecificVersion>False</SpecificVersion>
63+
<HintPath>..\..\src\packages\Microsoft.Net.Http.2.2.22\lib\net45\System.Net.Http.Primitives.dll</HintPath>
64+
</Reference>
5965
<Reference Include="System.Net.Http.WebRequest, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
6066
<HintPath>..\..\src\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll</HintPath>
6167
</Reference>
@@ -100,6 +106,11 @@
100106
</ProjectReference>
101107
</ItemGroup>
102108
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
109+
<Import Project="..\..\src\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\src\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
110+
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
111+
<Error Condition="!Exists('..\..\src\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="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=317567." HelpKeyword="BCLBUILD2001" />
112+
<Error Condition="Exists('..\..\src\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
113+
</Target>
103114
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
104115
Other similar extension points exist, see Microsoft.Common.targets.
105116
<Target Name="BeforeBuild">

test/CollectionJson.Server.Tests/app.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
1515
<bindingRedirect oldVersion="0.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
1616
</dependentAssembly>
17+
<dependentAssembly>
18+
<assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
19+
<bindingRedirect oldVersion="0.0.0.0-4.2.22.0" newVersion="4.2.22.0" />
20+
</dependentAssembly>
1721
</assemblyBinding>
1822
</runtime>
1923
</configuration>

test/CollectionJson.Server.Tests/packages.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<packages>
33
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.0" targetFramework="net45" />
44
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.0" targetFramework="net45" />
5+
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
6+
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
7+
<package id="Microsoft.Net.Http" version="2.2.22" targetFramework="net45" />
58
<package id="Moq" version="4.2.1402.2112" targetFramework="net45" />
69
<package id="Newtonsoft.Json" version="6.0.3" targetFramework="net45" />
710
<package id="Should" version="1.1.20" targetFramework="net45" />

0 commit comments

Comments
 (0)