Debugger does not step into native code when debugging a static lib wrapped in a C++/CLI DLL
- 阅读更多 关于 Debugger does not step into native code when debugging a static lib wrapped in a C++/CLI DLL
问题 In a C# app, I'm referencing a native C static lib, that I wrapped in a C++/CLI DLL. I chose a static lib versus a DLL because I have other constraints related to the release process of the app to the user. Among the many topics available on this forum I found the following implementation. Main : { MyCLRDLL test = new MyCLRDLL(); if(test.go()) Console.WriteLine("Hello, wrld"); } In the DLL project, the file MyCLRDLL.hpp #include "MyNativeLib.h" #pragma comment(lib, "MyNativeLib.lib")