Parameters.ShowCommandLine is a bool? property which is always either null or true when set with the ShowCommandLine option, but these two values have the same effect due to this code:
This if can only be entered when ShowCommandLine is false, but there is no way to set it to this value.
This means that command lines are currently always logged. This is an issue when ReadyToRun compilation is enabled, as the crossgen command lines flood the log.
It looks like ShowCommandLine should be a bool property with a default value of false instead.
Parameters.ShowCommandLine
is abool?
property which is always eithernull
ortrue
when set with theShowCommandLine
option, but these two values have the same effect due to this code:https://github.com/JetBrains/teamcity-msbuild-logger/blob/2e7012526dd39e6ed14d076f48bc3a5fdfaf1567/TeamCity.MSBuild.Logger/EventHandlers/MessageHandler.cs#L42-L45
This
if
can only be entered whenShowCommandLine
isfalse
, but there is no way to set it to this value.This means that command lines are currently always logged. This is an issue when ReadyToRun compilation is enabled, as the crossgen command lines flood the log.
It looks like
ShowCommandLine
should be abool
property with a default value offalse
instead.