mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Wiremock not compatible with Newtonsoft.Json ver 11.0.2 #180
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ashby-bowles on GitHub (Jun 10, 2019).
In our project we are using Xamarin UI tests which locks us to Newtonsoft ver 11.0.2 and we are running into an error when the MockServer is started. The exception is below. We have attempted to use an explicit reference to a newer reference of Newtonsoft but this does not help. Any guidance would be greatly appreciated.
@StefH commented on GitHub (Jul 3, 2019):
Can you provide an example project ?
@ashby-bowles commented on GitHub (Jul 23, 2019):
@StefH here it is. let me know if you need any more info.
BugRepro.zip
@StefH commented on GitHub (Jul 24, 2019):
I cannot open the iOS project on my system, can you maybe also create an android version?
@ashby-bowles commented on GitHub (Jul 24, 2019):
@StefH here you go
BugReproAndroid.zip
Here are the repro steps:
@StefH commented on GitHub (Jul 26, 2019):
I'm sorry.
I cannot get Xamarin + Android working in my VM
Memory is not enough it seems, and I get an error while running test:
Closing this issue.
@APIWT commented on GitHub (Jul 26, 2019):
@StefH What operating system are you running? Would it help if we were to provide a solution created in Windows first with a video of repro steps?
@StefH commented on GitHub (Jul 26, 2019):
windows 10
vs2017 with android 27 and xamarin installed
android 8.1 oreo used
A video could help.
Questions:
@APIWT commented on GitHub (Jul 26, 2019):
So it turns out that JSON.NET might have nothing to do with the issue since the test project only includes NUnit 3 and WireMock.Net
I believe that by default .NET Framework 4.7 is chosen when making UI test projects, but I'll report back when I have a project created in your environment. Fair warning: I will probably have to use Visual Studio 2019 unless there is a community version of 2017 available for download. Hope this helps. I'll be really bummed out if the problem does not appear in Windows :(
@StefH commented on GitHub (Oct 14, 2019):
Closing...