Sep 6, 2018 · 1 min read
EDIT: no longer applies
This seems to be broken with recent updates to VSTS in multiple ways. The Publish Code Coverage task now looks for a “summary$(Build.BuildId)” directory inside the provided Report directory, but even if that exists, with .html files instead of .htm, the new “Code coverage*” tab always reports “ Code coverage data cannot be displayed. Please verify that a valid directory containing code coverage files, including an index.html was used to publish data.” This GitHub issue suggests this feature is just not working right now. https://github.com/Microsoft/vsts-tasks/issues/7703