mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-21 00:28:59 +01:00
Updated Xamarin Could not load file or assembly (markdown)
@@ -19,18 +19,16 @@ Running under executable C:\git\WireMock.Net\examples\WireMock.Net.Console.Net4
|
||||
```
|
||||
|
||||
|
||||
### Solution:
|
||||
### Solutions:
|
||||
|
||||
#### 1. Adding System.Memory and System.Threading.Tasks.Extensions as NuGet references.
|
||||
|
||||
#### 2. Assembly binding redirects
|
||||
Adding assembly binding redirects to the app.config for the assemblies which have an error.
|
||||
Like:
|
||||
``` xml
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="4.0.2.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="4.0.2.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
|
||||
Reference in New Issue
Block a user