Failed to generate json template For Specrun using CucumberJson.cshtml template
When I follow the article https://docs.getxray.app/pages/viewpage.action?pageId=64848772
to place CucumberJson.cshtml, update Default.srprofile and my .Net framework is 4.6.2, SpecFlow+ Runner version is 3.9.31
When the tests run in the local finish, the JSON template can not be generated.
it shows the error, any help would be appreciated.
'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
- error: (33, 37) The type 'Newtonsoft.Json.JsonSerializerSettings' exists in both 'c:\Windows\assembly\GAC_MSIL\EdrDotNet\106.0.0.0__da1b3922653ea916\EdrDotNet.dll' and 'd:\LocalProject\apps\Tests\bin\Debug\SpecFlowPlusRunner\net461\Newtonsoft.Json.dll'
- error: (35, 33) The type 'Newtonsoft.Json.ReferenceLoopHandling' exists in both 'c:\Windows\assembly\GAC_MSIL\EdrDotNet\106.0.0.0__da1b3922653ea916\EdrDotNet.dll' and ‘d:\LocalProject\apps\Tests\bin\Debug\SpecFlowPlusRunner\net461\Newtonsoft.Json.dll’
Please sign in to leave a comment.
Comments
0 comments