Unable to Publish NUnit test result report getting error message stating, Could not read the XSL XML file Unable to Publish NUnit test result report getting error message stating, Could not read the XSL XML file jenkins jenkins

Unable to Publish NUnit test result report getting error message stating, Could not read the XSL XML file


I added this package to my solution: https://www.nuget.org/packages/NunitXml.TestLogger/

Then the command used is:

  dotnet test folder/project.csproj --filter "TestCategory=category" --results-directory ./folder/ --test-adapter-path:. --logger:"nunit;LogFilePath=TestResult.xml"

and to publish:

  nunit testResultsPattern: 'folder/TestResult.xml'