Skip to content

Commit

Permalink
Issue kevinobee#33 - fix for broken cmd line tests with Newtonsoft.Js…
Browse files Browse the repository at this point in the history
…on 6.0.0.0 not being able to be resolved.
  • Loading branch information
kevinobee committed Dec 12, 2014
1 parent a9bb5bd commit 53b6434
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Packages.dgml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
<Node Id="Moq 4.2.1402.2112" Label="Moq 4.2.1402.2112" Category="Package" />
<Node Id="Nancy 0.23.2" Label="Nancy 0.23.2" Category="Package" />
<Node Id="Nancy.Testing 0.23.2" Label="Nancy.Testing 0.23.2" Category="Package" />
<Node Id="Newtonsoft.Json 5.0.6" Label="Newtonsoft.Json 5.0.6" Category="Package" />
<Node Id="Newtonsoft.Json 6.0.6" Label="Newtonsoft.Json 6.0.6" Category="Package" />
<Node Id="Should 1.1.20" Label="Should 1.1.20" Category="Package" />
<Node Id="xunit 1.9.2" Label="xunit 1.9.2" Category="Package" />
<Node Id="src\Sitecore.Ship" Label="Sitecore.Ship" Category="Project" />
<Node Id="Nancy 0.23.2" Label="Nancy 0.23.2" Category="Package" />
<Node Id="Nancy.Hosting.Aspnet 0.23.2" Label="Nancy.Hosting.Aspnet 0.23.2" Category="Package" />
<Node Id="Nancy.Serialization.JsonNet 0.23.2" Label="Nancy.Serialization.JsonNet 0.23.2" Category="Package" />
<Node Id="Newtonsoft.Json 5.0.6" Label="Newtonsoft.Json 5.0.6" Category="Package" />
<Node Id="Newtonsoft.Json 6.0.6" Label="Newtonsoft.Json 6.0.6" Category="Package" />
</Nodes>
<Links>
<Link Source="tests\acceptance test\Sitecore.Ship.AspNet.Web.Accept.Test" Target="Sitecore.Ship.AspNet 0.3.4" Category="Installed Package" />
Expand All @@ -52,12 +52,12 @@
<Link Source="Nancy.Testing 0.23.2" Target="CsQuery 1.3.4" Category="Package Dependency" />
<Link Source="tests\unit test\Sitecore.Ship.Test" Target="Moq 4.2.1402.2112" Category="Installed Package" />
<Link Source="tests\unit test\Sitecore.Ship.Test" Target="Nancy.Testing 0.23.2" Category="Installed Package" />
<Link Source="tests\unit test\Sitecore.Ship.Test" Target="Newtonsoft.Json 5.0.6" Category="Installed Package" />
<Link Source="tests\unit test\Sitecore.Ship.Test" Target="Newtonsoft.Json 6.0.6" Category="Installed Package" />
<Link Source="tests\unit test\Sitecore.Ship.Test" Target="Should 1.1.20" Category="Installed Package" />
<Link Source="tests\unit test\Sitecore.Ship.Test" Target="xunit 1.9.2" Category="Installed Package" />
<Link Source="Nancy.Hosting.Aspnet 0.23.2" Target="Nancy 0.23.2" Category="Package Dependency" />
<Link Source="Nancy.Serialization.JsonNet 0.23.2" Target="Nancy 0.23.2" Category="Package Dependency" />
<Link Source="Nancy.Serialization.JsonNet 0.23.2" Target="Newtonsoft.Json 5.0.6" Category="Package Dependency" />
<Link Source="Nancy.Serialization.JsonNet 0.23.2" Target="Newtonsoft.Json 6.0.6" Category="Package Dependency" />
<Link Source="src\Sitecore.Ship" Target="Nancy.Hosting.Aspnet 0.23.2" Category="Installed Package" />
<Link Source="src\Sitecore.Ship" Target="Nancy.Serialization.JsonNet 0.23.2" Category="Installed Package" />
</Links>
Expand Down
2 changes: 1 addition & 1 deletion src/Sitecore.Ship.AspNet/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
5 changes: 3 additions & 2 deletions src/Sitecore.Ship/Sitecore.Ship.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Nancy.Serialization.JsonNet.0.23.2\lib\net40\Nancy.Serialization.JsonNet.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\..\packages\Newtonsoft.Json.5.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Newtonsoft.Json.6.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion src/Sitecore.Ship/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
2 changes: 1 addition & 1 deletion src/Sitecore.Ship/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<package id="Nancy" version="0.23.2" targetFramework="net40" />
<package id="Nancy.Hosting.Aspnet" version="0.23.2" targetFramework="net40" />
<package id="Nancy.Serialization.JsonNet" version="0.23.2" targetFramework="net40" />
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net40" />
<package id="Newtonsoft.Json" version="6.0.6" targetFramework="net40" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
2 changes: 1 addition & 1 deletion tests/unit-test/Sitecore.Ship.AspNet.Test/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
4 changes: 2 additions & 2 deletions tests/unit-test/Sitecore.Ship.Test/Sitecore.Ship.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\packages\Nancy.Testing.0.23.2\lib\net40\Nancy.Testing.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\packages\Newtonsoft.Json.5.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Should">
<HintPath>..\..\..\packages\Should.1.1.20\lib\Should.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion tests/unit-test/Sitecore.Ship.Test/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
2 changes: 1 addition & 1 deletion tests/unit-test/Sitecore.Ship.Test/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<package id="Moq" version="4.2.1402.2112" targetFramework="net40" />
<package id="Nancy" version="0.23.2" targetFramework="net40" />
<package id="Nancy.Testing" version="0.23.2" targetFramework="net40" />
<package id="Newtonsoft.Json" version="5.0.6" targetFramework="net40" />
<package id="Newtonsoft.Json" version="6.0.6" targetFramework="net40" />
<package id="Should" version="1.1.20" targetFramework="net40" />
<package id="xunit" version="1.9.2" targetFramework="net40" />
</packages>

0 comments on commit 53b6434

Please sign in to comment.