Problems with the dotNET wizard - references and breakpoints
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I recently installed the latest Autocad .NET Wizards, hoping that I would finally be able to debug my plugin. I've been developing with ObjectARX for over a year now. All previous attempts to get the debugger working on my DLL failed and I gave up.
The latest wizard installed OK, but when I followed the example, trouble started when I simply saved the project. Most of the ObjectARX symbols showed red (undefined) until I added references to "Autodesk.AutoCAD.Interop" and "Autodesk.AutoCAD.Interop.Common". These are both in C:\ObjectARX 2011\inc-x64\ The errors went away after adding these two references, but the question remains as to why this was necessary since the wizard should work out of the box as shown in the demos.
After staring debug (F5), AutoCAD starts and I NETLOAD my DLL. My plugin comes up fine, but breakpoints are ignored 😞
I tried some of the solutions on Through the Interface and elsewhere to no avail. Hoping I don't have to give up again 😞
I'm on 64-bit Windows 7, Visual Studio 2010 Pro (4.0.30319) and AutoCAD 2011. I'm developing in Visual Basic.
Gary