Environment:
C# 6
.NET Framework 4.6.1
NUnit Console 2.6.3
I am running the following command to create test coverage on my build:
"C:\Program Files (x86)\OpenCover.4.6.519\OpenCover.Console.exe" -target:"C:\Program Files (x86)\NUnit 2.6.3\bin\nunit-console.exe" -targetargs:"/nologo /noshadow .\UnitTests.nunit /xml=UnitTestResults.xml" -register -output:RawCoverageReport.xml -filter:"+[some name] -[some name]"
However, it's breaking my build on this version of OpenCover. On previous versions, the build does not break the build unit test but it doesn't create any test coverage. Any clues?
System.InvalidProgramException : Common Language Runtime detected an invalid program
Thank you all for your help!