I was getting the above message while analyzing the code coverage for a Unit Test case written for a Plugin using Microsoft Fakes.
Followed this article
And also deleted the .SUO file (hidden file in the root of the solution) and also restarted the Visual Studio. Re-running the code coverage worked properly this time.
Hope it helps.