Coverage analysis failed. PDB server error: Invalid MVID for the absolute module path is detected.


Hi there,


I'm trying to use dotCover but can't seem to get it working. I keep getting the following dialog box everytime I run Resharper > Cover > Cover Application.  



Steps to reproduce error:

1) Create new .NET Core Console Application (v2.0 for me)


2) Select release mode and build the solution. The following 5 files are created for me inside project-name\bin\Release\netcoreapp2.0

  • ConsoleApp.deps
  • ConsoleApp.dll
  • ConsoleApp.pdb
  • ConsoleApp.runtimeconfig


3) Run Resharper > Cover > Cover Application


4) Select .NET Core Application in the Cover Application dialog box


5) Click the advanced checkbox and select the .dll that was built as Application (project-name\bin\Release\netcoreapp2.0\ConsoleApp.dll)  


6) Set working directory to project-name\bin\Release\netcoreapp2.0


7) Edit Symbol Search Policy, by setting the search path to project-name\bin\Release\netcoreapp2.0 and checking all the checkboxes except "Access Symbol Server".


8) Run the coverage


Help is appreciated...


Comment actions Permalink

UPDATE: It seems as if the issue was caused by having the project located within my OneDrive directory. No idea why this happened, but creating the project outside of OneDrive lets me run dotCover. 

Comment actions Permalink

Hello, Samuel,

Unfortunately, it seems to be an issue with dotCover analysis when "Files On-Demand" feature is enabled for OneDrive : Will the problem persist if you disable this feature?


Please sign in to leave a comment.