Skip to main content
Serilog.Sinks.MSBuild package icon

Serilog.Sinks.MSBuild

This package provides a Serilog sink that redirects events to MSBuild. It is useful when an MSBuild task calls code that uses Serilog. Despite the package depending on MSBuild 17, it will work on versions after 15. When using this package, MSBuild's assemblies are not copied, which is not a problem for custom task assemblies.

Total Downloads
25.9K
25,872
Published
Dec 8, 2024
Latest stable version

Install

.NET CLI
dotnet add package Serilog.Sinks.MSBuild --version 1.6.0
Package Manager Console
Install-Package Serilog.Sinks.MSBuild -Version 1.6.0
PackageReference
<PackageReference Include="Serilog.Sinks.MSBuild" Version="1.6.0" />

Frameworks

.NETStandard2.0

Dependencies

[17.0.0, )
[17.0.0, )
Serilog
.NETStandard2.0
[2.0.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.