C#和C++联合调试时的小问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/fx_odyssey/article/details/79710639

今天调试代码时碰到一个小问题,编译都通过了,debug时弹出一个框,提示:The debugger does not support debugging managed and native code at the same time on this platform.





这是啥?表示蒙B。我对C#不熟,喊来C#的同事过来看下。原来是平台问题。只需要打开C#工程属性页,在build上,将 AnyCpu 改成 x86 就可以了。


猜你喜欢

转载自blog.csdn.net/fx_odyssey/article/details/79710639
今日推荐