diff --git a/build.proj b/build.proj index 3ed7453..9eb9361 100644 --- a/build.proj +++ b/build.proj @@ -24,7 +24,7 @@ - + diff --git a/src/coverlet.core/Coverage.cs b/src/coverlet.core/Coverage.cs index 3b912d8..fb5b67f 100644 --- a/src/coverlet.core/Coverage.cs +++ b/src/coverlet.core/Coverage.cs @@ -209,7 +209,11 @@ namespace Coverlet.Core { if (!File.Exists(result.HitsFilePath)) { - _logger.LogWarning($"Hits file:'{result.HitsFilePath}' not found for module: '{result.Module}'"); + // Hits file could be missed mainly for two reason + // 1) Issue during module Unload() + // 2) Instrumented module is never loaded or used so we don't have any hit to register and + // module tracker is never used + _logger.LogVerbose($"Hits file:'{result.HitsFilePath}' not found for module: '{result.Module}'"); continue; }