Question

I have a Win32 EXE that's written in VC++. I have implementation written in C#. I've got the VC++ EXE consuming the C# DLL as outlined here: http://support.microsoft.com/kb/828736. Works great, but I need to be able to debug. Both projects are loaded into the same .SLN, but breakpoints in the C# are never hit. Is there a way to debug this in VS2012?

Was it helpful?

Solution

Ah, turns out this is easy if you know the right button to push. On the C++ project properties, Configuration Properties -> Debugging -> Debugger Type = "Mixed".

OTHER TIPS

Try adding a Project reference to the C# Dll from the C++ Project. If you have already done that, Please clean up the solution and build. This should solve the problem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top