Skip to content

We should have telemetry describing how people are using dotnet run. #49114

Open

Description

@baronfel

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

With dotnet run foo.cs being a thing in preview 4, we should be able to follow along with the usage of the feature so we can figure out where we need to make follow-up investments.

Describe the solution you'd like

I'd like a few new events that can be used to categorize usage of key parts of the single-file/run experience:

  • dotnet run invoked
  • is this a project-based build or a single-file build
  • are arguments being passed to the app?
  • for project-based builds
    • was a build requested?
    • was a launch profile requested?
    • more?
  • for single-file builds
    • are packages being used?
    • are custom SDKs being used?
    • are other features that eject to needing msbuild being used?
    • is multi-file being used, or true single-file?
    • was this a cache-hit or a cache-miss?

Activity

  1. self-assigned this
    on May 22, 2025
  2. added
    untriaged
    on May 22, 2025
  3. added
    Area-run-file
    consider-for-documentation
    and removed
    untriaged
    on May 22, 2025
  4. added this to the 10.0.1xx milestone on Jun 5, 2025
  5. modified the milestones: 10.0.1xx, 11.0.1xx on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-TelemetryArea-run-fileconsider-for-documentation

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions