diff --git a/eng/cake/dotnet.cake b/eng/cake/dotnet.cake index 98169355b392..8f583288d0d5 100644 --- a/eng/cake/dotnet.cake +++ b/eng/cake/dotnet.cake @@ -707,7 +707,9 @@ void RunTestWithLocalDotNet(string csproj) Configuration = configuration, ToolPath = dotnetPath, NoBuild = true, - Logger = $"trx;LogFileName={results}", + Loggers = { + $"trx;LogFileName={results}" + }, ResultsDirectory = GetTestResultsDirectory(), ArgumentCustomization = args => args.Append($"-bl:{binlog}") });