From 99d9fe14c88bf9682142f932d17016e4a60de6ed Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Fri, 2 Sep 2022 14:17:23 +0200 Subject: [PATCH] C#: Also inject `dotnet (pack|test|run)` --- csharp/tools/tracing-config.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csharp/tools/tracing-config.lua b/csharp/tools/tracing-config.lua index d948fb9d1b6..b7db60eff04 100644 --- a/csharp/tools/tracing-config.lua +++ b/csharp/tools/tracing-config.lua @@ -31,7 +31,8 @@ function RegisterExtractorPack(id) local firstCharacter = string.sub(arg, 1, 1) if not (firstCharacter == '-') and not (firstCharacter == '/') then Log(1, 'Dotnet subcommand detected: %s', arg) - if arg == 'build' or arg == 'msbuild' or arg == 'publish' then match = true end + if arg == 'build' or arg == 'msbuild' or arg == 'publish' or arg == 'pack' or arg == 'test' or + arg == 'run' then match = true end break end end