I get the above mentioned error when trying to add a breakpoint in a dll. I have tried all off the options mentioned here: Link
Background:
When I enable "native code debugging" the modules window shows its trying to load the dll twice, first time it succeeds and the second time it fails. I have attached a screen shot of this.
Is there anything I can try to fix this issue?
The following is a quick description of the projects in the solution.
Item 2 is the startup project, and I only include on the current test form item 3's class. So 1, 4-6 is not applicable here, I think....
I looks like the dll is not up-to-date. Here are the steps how I always try to resolve it:
I think your dll project does not Build for the last time, you can Build manually this, or set this setting (for visual studio 2012-2013)
Tools -> Option -> Project And Solution -> Build And Run -> Then uncheck the "only build startup projects and dependencies on run"
I found the problem. It was with the merging of dlls. Some of the class require their own dll's I merge all of this into one dll. If I remove this, I can debug in my dll.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.