"C:\Program Files (x86)\Jenkins\xunit\xunit.console.exe" "C:\Program Files (x86)\Jenkins\jobs\UnitTesting\workspace\StoriesTests\bin\Debug\StoriesTests.dll" -xml "C:\Program Files (x86)\Jenkins\jobs\UnitTesting\workspace\xunitresult.xml"
When i run the above windows batch script in jenkins, I get the following issue:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'xunit.runner.utility, Version=1.1.0.1323, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' or one of its dependencies. The system cannot find the file specified. File name: 'xunit.runner.utility, Version=1.1.0.1323, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c' at Xunit.ConsoleClient.Program.Main(String[] args)
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
I do have the latest versions of xunit, xunit.abstractions, xunit.assert, xunit.core, xunit.runners nuget packages installed.
Thanks
Aucun commentaire:
Enregistrer un commentaire