Newtonsoft.Json.JsonSerializationException: Self referencing loop error
I am running Parallels on an M1 MacBook with Visual Studio 2019 installed. I have installed SpecFlow and setup a new project (using 'SpecFlow Project' option).
Without making any changes I try and run the default calculator test that is created. I get the following error in the logs:
2021-03-08T15:48:00.9438755+00:00;Thread#12;Error;Newtonsoft.Json.JsonSerializationException thrown during serialization: Newtonsoft.Json.JsonSerializationException: Self referencing loop detected for property 'ManifestModule' with type 'System.Reflection.RuntimeModule'. Path 'Summary.FrameworkErrorException.InnerException.TargetSite.Module.Assembly'.
I suspect this may be an M1 chip MacBook compatibility issue with SpecFlow (despite running on Parallels) but wondered if anyone had managed to fix this error when running SpecFlow feature files?
Please sign in to leave a comment.