Search code examples
c#visual-studiobenchmarkdotnet

Turning off debugger in release mode


I have Build set to Release mode.

enter image description here

I'm running my .NET Core 3.1 Console App with Benchmark DotNet. But it tells me, that

Summary -> Benchmark was executed with attached debugger

How to turn off debugger completely in Release build mode?


Solution

  • Debug -> Start Without Debugging (Ctrl+F5)

    Screenshot of "Start Without Debugging"