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 16.7, 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.
Install
dotnet add package Serilog.Sinks.MSBuild --version 1.4.0
Install-Package Serilog.Sinks.MSBuild -Version 1.4.0
<PackageReference Include="Serilog.Sinks.MSBuild" Version="1.4.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 3 target frameworks; 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.