A console logger that logs only projects and targets being built.
- .NET Framework 4.6.1
- MSBuild 14.0
TargetLogger
can be downloaded from nuget : packages/TargetLogger
nuget install TargetLogger -OutputDirectory packages
The logging assembly is located under : lib\netstandard2.0\TargetLogger.dll
. This file is passed to MSBuild to specify our custom logging.
msbuild /nologo /noconsolelogger /logger:packages/TargetLogger.1.0.0/lib/netstandar2.0/TargetLogger.dll
The /noconsolelogger
switch is important to remove MSBuild's default console output.
Here's an example using Build.proj
from samples