diff --git a/src/coverlet.core/Reporters/CoberturaReporter.cs b/src/coverlet.core/Reporters/CoberturaReporter.cs index 0f9466435..2195afa67 100644 --- a/src/coverlet.core/Reporters/CoberturaReporter.cs +++ b/src/coverlet.core/Reporters/CoberturaReporter.cs @@ -31,6 +31,7 @@ public string Report(CoverageResult result) coverage.Add(new XAttribute("timestamp", ((int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds).ToString())); XElement sources = new XElement("sources"); + sources.Add(new XElement("source", string.Empty)); XElement packages = new XElement("packages"); foreach (var module in result.Modules)