Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 0a20262

Browse files
committed
Add binding redirect for Newtonsoft.Json...
...in UnitTests. Akavache uses Newtonsoft.Json 6.0.8 while we use 10.0.3. The earlier version needs to be redirected to the later version for tests to work.
1 parent d246220 commit 0a20262

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/UnitTests/UnitTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,9 @@
384384
<None Include="packages.config">
385385
<SubType>Designer</SubType>
386386
</None>
387+
<None Include="UnitTests.dll.config">
388+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
389+
</None>
387390
</ItemGroup>
388391
<ItemGroup>
389392
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral"/>
7+
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
8+
</dependentAssembly>
9+
</assemblyBinding>
10+
</runtime>
11+
</configuration>

0 commit comments

Comments
 (0)