Skip to content

Ambiguous reference to StackExchange.Profiling.MiniProfilerExtensions #683

Open

Description

@vmachacek

when calling global::StackExchange.Profiling.MiniProfilerExtensions.Step the build fails with ambiguous reference when referencing MiniProfiler.AspNetCore.Mvc

Activity

  1. NickCraver commented on Jul 25, 2025

    @NickCraver
    Member

    This sounds like you're potentially using conflicting package versions for different things - be sure to upgrade all MiniProfiler packages to the same version to account for anything that may have moved :)

  2. vmachacek commented on Oct 1, 2025

    @vmachacek
    Author

    I have single package referenced. To reproduce the issue all you have to do is use the code with full qualifier like so global::StackExchange.Profiling.MiniProfilerExtensions.Step and it will show

    Image
  3. vmachacek commented on Mar 19, 2026

    @vmachacek
    Author

    @NickCraver I just run into this today, any plans on fixing it? The way I fix this is to make silly wrapper and in the aspect which is generated with full qualifier I use my wrapper. In case its not obvious without full qualifier it works normally.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions