Run and debug .NET executables without source code

Last modified: 11 February 2024

If you need to launch a compiled .NET executable without source code, you need to configure the startup properties of the target executable in a run configuration. Once the configuration is created, you can launch it with the debugger attached or without debugging . In case of debugging, the executable will be automatically decompiled.

Another scenario is using a compiled .NET executable as a part of testing or debugging your project of non-executable type, for example, a class library. In this case, you need to launch the created configuration together with another configuration that executes your code as multiple targets.

JetBrains Rider run configuration: .NET Executable