Code Coverage Error

I am trying to use SQL Test on the test tSQLt database and the tests complete correctly, but the code coverage errors.  The error is as follows:
System.IO.FileLoadException: The located 
assembly's manifest definition does not match the assembly reference. (Exception 
from HRESULT: 0x80131040) at 
SQLCover.Parsers.StatementParser.GetChildStatements(String script, Boolean 
quotedIdentifier) at SQLCover.Source.DatabaseSourceGateway.GetBatches(List`1 
objectFilter, List`1 filteredObjects) at 
SQLCover.CodeCoverage.GenerateResults(List`1 filter, List`1 xml, List`1 
filteredObjects) at SQLCover.CodeCoverage.Stop() at 
RedGate.SQLTest.tSQLt.Cover.SqlCoverTracker.Stop()
There was a similar issue reported that @Jon_Kirkwood responded to that required a new version of SQL Test (https://forum.red-gate.com/discussion/89558/code-coverage-error#latest).  I have tried uninstalling/reinstalling SQL Test and that had no effect.  

Here are the software versions I am running:

SSMS - 20.2.30.0
SQL Test - 4.1.20.3489

Can you please let me know how to resolve this issue?

Thanks,

--Adam

Tagged:

Answers

Sign In or Register to comment.