One Project don't show any coverage #287
|
Hi, I user FCC with VS2022 and it works pretty well. But for one project I get no Coverage in the log file I see this error message: Unable to instrument module: C:\Projekte\Framework4.0\Build\Tests\Debug\fine-code-coverage\build-output\Core.UI.UILibrary.dll because : Failed to resolve System.Windows.Threading.DispatcherPriority The Project file looks like this: If I use another coverage tool l see the coverage result of this project: But in FCC I see no coverage even in the log file the Core.UI.UILibrary is missing. |
Replies: 3 comments 14 replies
|
I assume you are receiving coverage from coverlet. This may help coverlet-coverage/coverlet#1221 Alternatively you could switch to the ms code coverage option. Although there is an issue with async methods until the next release |
|
FCC does not do coverage itself. It uses one of Coverlet, OpenCover or Microsoft. Each of these coverage services can work with NUnit, XUnit or MSTest. For your project Coverlet is being used, hence the first link I provided. |



I assume you are receiving coverage from coverlet. This may help coverlet-coverage/coverlet#1221
Alternatively you could switch to the ms code coverage option. Although there is an issue with async methods until the next release