今天调试代码时碰到一个小问题,编译都通过了,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 就可以了。
今天调试代码时碰到一个小问题,编译都通过了,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 就可以了。