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

Commit b13fd61

Browse files
Adding binding redirects to unit test projects
1 parent bb9af58 commit b13fd61

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

test/GitHub.App.UnitTests/GitHub.App.UnitTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@
232232
</ProjectReference>
233233
</ItemGroup>
234234
<ItemGroup>
235+
<None Include="GitHub.App.UnitTests.dll.config">
236+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
237+
</None>
235238
<None Include="packages.config" />
236239
</ItemGroup>
237240
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
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-9.0.0.0" newVersion="9.0.0.0"/>
8+
</dependentAssembly>
9+
</assemblyBinding>
10+
</runtime>
11+
</configuration>

test/GitHub.VisualStudio.UnitTests/GitHub.VisualStudio.UnitTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@
276276
</ProjectReference>
277277
</ItemGroup>
278278
<ItemGroup>
279+
<None Include="GitHub.VisualStudio.UnitTests.dll.config">
280+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
281+
</None>
279282
<None Include="packages.config" />
280283
</ItemGroup>
281284
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
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-9.0.0.0" newVersion="9.0.0.0"/>
8+
</dependentAssembly>
9+
</assemblyBinding>
10+
</runtime>
11+
</configuration>

0 commit comments

Comments
 (0)