Native CoreCLR Debugging

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Native CoreCLR Debugging

Post by jussij »

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:

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.
To fix this, change the type of debugger using the Debug properties as shown below:
clr-debug.png
clr-debug.png (106.86 KiB) Viewed 8 times
Jussi
Post Reply