C#: Tracer support for invoking csc directly.

This commit is contained in:
Michael Nebel
2025-10-21 11:16:55 +02:00
parent 9efa20dfc7
commit e560ac197f
2 changed files with 8 additions and 1 deletions

View File

@@ -226,6 +226,11 @@ function RegisterExtractorPack(id)
prepend = { '--compiler', '"${compiler}"' },
order = ORDER_BEFORE
}),
CreatePatternMatcher({ '^csc$' }, MatchCompilerName,
extractor, {
prepend = { '--compiler', '${compiler}' },
order = ORDER_BEFORE
}),
MsBuildMatcher,
function(compilerName, compilerPath, compilerArguments, _languageId)
-- handle cases like `dotnet exec csc.dll <args>` and `mono(-sgen64) csc.exe <args>`