Should the dotnet/sdk image include libxml2 in order to support dotnet-coverage? #4183
RobinsonWM
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
That's a great question. I've created an issue for this and we'll discuss it in triage: #4184 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the
dotnet/sdk
image, if I rundotnet tool install dotnet-coverage
and then run unit tests with code coverage, the result is an empty coverage report, and this message is logged to the console:The code coverage tool requires
libxml2
, as documented on this GitHub issue: microsoft/vstest#981 (comment)Since code coverage should be a common thing to do when using the
dotnet/sdk
image, should we consider includinglibxml2
? In my particular case, my CI builds run in a Docker container but not as root, so I have to jump through hoops to installlibxml2
.Also see microsoft/vstest#3400
Beta Was this translation helpful? Give feedback.
All reactions