Skip to content

Commit b36898d

Browse files
committed
Single TFM on AppVeyor + Windows
1 parent 0bb1df1 commit b36898d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var publishingError = false;
9292
// Generally speaking, we want to honor all the TFM configured in the unit tests, integration tests and benchmark projects.
9393
// However, a single framework is sufficient when calculating code coverage.
9494
const string DEFAULT_FRAMEWORK = "net9.0";
95-
var isSingleTfmMode =
95+
var isSingleTfmMode = (IsRunningOnWindows() && BuildSystem.AppVeyor.IsRunningOnAppVeyor) ||
9696
target.Equals("Coverage", StringComparison.OrdinalIgnoreCase) ||
9797
target.Equals("Run-Code-Coverage", StringComparison.OrdinalIgnoreCase) ||
9898
target.Equals("Generate-Code-Coverage-Report", StringComparison.OrdinalIgnoreCase) ||

0 commit comments

Comments
 (0)