Native CoreCLR Debugging
Posted: Sat Aug 31, 2024 7:52 am
When a native desktop application is using a component written using C++/CLR the following error might be generated when attempting to debug that component:
To fix this, change the type of debugger using the Debug properties as shown below:
Jussi
Code: Select all
Microsoft Visual Studio
A fatal error has occurred and debugging needs to be terminated. The debugger was configured to use the Desktop CLR (.NET Framework) Managed debugger, but the target process loaded the CoreCLR (.NET Core) runtime.
To debug this project, configure it to use the 'Managed (CoreCLR)' debugger.