Getting Could not load file or assembly 'Mono.Cecil while running VSTests with code coverage enabled

53 views Asked by At

I have a pipeline defined in azure devops that build the VS Solution and executes the VSTests. I have enabled the code coverage as well. However the VSTests fails with the message: ##[error]Data collector 'Code Coverage' message: Data collector caught an exception of type 'System.IO.FileNotFoundException': 'Could not load file or assembly 'Mono.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e' or one of its dependencies. The system cannot find the file specified.'. More details: ... I am not sure from where the Mono.Cecil reference is coming from.

0

There are 0 answers