Skip to content

Add a way to produce diagnostics log from Microsoft.NET.HostModel #53923

Open
@vitek-karas

Description

@vitek-karas

Basically the only user of Microsoft.NET.HostModel is the SDK and some of its tasks. So it's almost always running in the context of MSBuild with its relatively rich logging/diagnostics capabilities. But we're not using any of that because we build the Microsoft.NET.HostModel as a standalone library. That in itself is not a problem, but it would make a lot of sense to introduce a logging interface into the library so that it can produce diagnostics into the parent MSBuild if we task chooses to pass it through.

Currently we have very little visibility into what's happing within the library unless we can directly debug it (which in itself is tricky when it's running in MSBuild).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-HostModelMicrosoft.NET.HostModel issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions