diff --git a/ReleaseNotes.md b/ReleaseNotes.md index f89d401..4111d45 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -4,6 +4,7 @@ * Fix running `dotnet test` with extra properties. * Add `DotNetTestSettings.GetLogger` to support custom loggers. +* Don't send `-maxcpucount` argument when calling `dotnet test` with a dll. ## 5.21.1 diff --git a/src/Faithlife.Build/DotNetBuild.cs b/src/Faithlife.Build/DotNetBuild.cs index b45d45e..2c40b07 100644 --- a/src/Faithlife.Build/DotNetBuild.cs +++ b/src/Faithlife.Build/DotNetBuild.cs @@ -989,7 +989,6 @@ public static void RunTests(this DotNetBuildSettings settings, string? path) "test", Path.GetFileName(path), settings.GetVerbosityArg(), - settings.GetMaxCpuCountArg(), .. loggerArgs, "--", "RunConfiguration.TreatNoTestsAsError=true",