Skip to content

Commit b7e97e6

Browse files
authored
Fix assembly binding for (#215)
1 parent 067ae31 commit b7e97e6

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

source/TestAdapter/App.config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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="System.Runtime.CompilerServices.Unsafe"
7+
publicKeyToken="b03f5f7f11d50a3a"
8+
culture="neutral" />
9+
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0"
10+
newVersion="6.0.0.0"/>
11+
</dependentAssembly>
12+
</assemblyBinding>
13+
</runtime>
14+
</configuration>

source/TestAdapter/nanoFramework.TestAdapter.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1010
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
1111
<LangVersion>8.0</LangVersion>
12+
<AppConfig>App.config</AppConfig>
1213
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
1314
</PropertyGroup>
1415

source/package.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</metadata>
2424
<files>
2525
<file src="TestAdapter\bin\Release\net4.8\*.dll" target="lib/net48" />
26+
<file src="TestAdapter\bin\Release\net4.8\*.config" target="lib/net48" />
2627
<file src="UnitTestLauncher\bin\Release\nanoFramework.TestFramework.*" target="lib" />
2728
<file src="UnitTestLauncher\bin\Release\nanoFramework.UnitTestLauncher.*" target="lib" />
2829
<file src="runsettings\nano.runsettings" target="content" />

0 commit comments

Comments
 (0)