Skip to content

Microsoft.Extensions.ApiDescription.Server - Surface Invocation with new TerminalLogger #62273

Closed

Description

@MattParkerDev

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

running a dotnet build on an ASP.NET Core project, does not indicate when Microsoft.Extensions.ApiDescription.Server runs the GetDocument tool. This is due to dotnet's new Terminal Logger, introduced in .NET 8.

Building with the new Terminal Logger disabled dotnet build --tl:off does show the logs from the tool invocation, including Generating document named 'v1'.

However, building with a Terminal Logger Verbosity flag set to detailed dotnet build -tlp:v=d does show the GetDocument logs.

Someone who is unaware these logs exist, will never be able to find them.
This can be an issue when debugging document generation.

Describe the solution you'd like

Surface these logs when using the new Terminal Logger, which is the default logger. This could be dependent on:

or may be resolved via: dotnet/msbuild#9810, by making the message higher priority, which may appear at lower log verbosity levels.

alternatively, -tlp:v=d may be an acceptable solution, and we could instead inform users about it in the README of the the NuGet package.

Additional context

No response

Activity

  1. added
    needs-area-label
    on Jun 7, 2025
  2. added
    area-commandlinetools
    and removed
    needs-area-label
    on Jun 7, 2025
  3. captainsafia commented on Jul 24, 2025

    @captainsafia
    Contributor

    This is a sensible proposal. PR welcome assuming we can do thorough validation on this change.

  4. added
    help wanted
    good first issue
    on Jul 24, 2025
  5. added this to the Backlog milestone on Jul 24, 2025
  6. dotnet-policy-service commented on Jul 24, 2025

    @dotnet-policy-service
    Contributor

    Looks like this issue has been identified as a candidate for community contribution. If you're considering sending a PR for this issue, look for the Summary Comment link in the issue description. That comment has been left by an engineer on our team to help you get started with handling this issue. You can learn more about our Help Wanted process here

  7. added a commit that references this issue on Dec 10, 2025
    1c4f5f8
  8. added a commit that references this issue on Jan 27, 2026
    f633b27
  9. added a commit that references this issue on Apr 1, 2026
    02330c5
  10. added a commit that references this issue on Apr 4, 2026
    985d30b
  11. added a commit that references this issue on Apr 23, 2026
    08780de
  12. WBorland89 commented on Jun 1, 2026

    @WBorland89

    Hey, I'm new to this repo and to contribution in general. Just wanted to clarify the preferred approach to get started.

  13. zeezo679 commented on Jun 26, 2026

    @zeezo679

    I encountered this behavior as well while building a .NET 10 project on Linux.

    The new TL is clean, but hiding important tool execution logs (like document generation) makes debugging unexpected failures tricky. Disabling it via --tl:off works as a temporary workaround, but it would be much better if these logs were visible by default.

  14. added a commit that references this issue on Jul 1, 2026
    44eeec3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-commandlinetoolsfeature-openapigood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions