You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ambiguous reference to StackExchange.Profiling.MiniProfilerExtensions #683
when calling global::StackExchange.Profiling.MiniProfilerExtensions.Step the build fails with ambiguous reference when referencing MiniProfiler.AspNetCore.Mvc
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 :)
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
@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.
Activity
NickCraver commentedon Jul 25, 2025
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 :)
vmachacek commentedon Oct 1, 2025
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.Stepand it will showvmachacek commentedon Mar 19, 2026
@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.