mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
InvalidProgramException when following running as standalone process example with dotnetcore #166
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 @pmiossec on GitHub (Mar 26, 2019).
When following the "WireMock as a standalone process" example "Option 3" on dotnetcore, I had the exception
InvalidProgramException: Cannot create boxed ByRef-like values.when doing theJson.Convert().It's an already fixed bug in the version
11.0.2of theNewtonSoft.Jsonnuget package coming as a dependency ofWireMock.Net.StandAlone.The solution is to update to a more recent version of the
NewtonSoft.JsondependencyVersion
12.0.1is fixing the problem.@pmiossec commented on GitHub (Mar 26, 2019):
Closing because this issue is just for documentation purpose for newcomers (see solution above)