Message 1 of 16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to debug a C# AutoCAD plug-in I made. I am using Visual Studio 2019 and AutoCAD 2020. I am using the "Start External Program" feature and upon pressing play, Visual Studio should open AutoCAD. It attempts to do this, but I get this message:
If I open AutoCAD manually and then netload my dll, no problem. But if Visual Studio tries to open AutoCAD, it won't do it. I need to open it this way because I am debugging my application. I am using the Managed .NET API with C#. How do I avoid running my managed code in DllMain? I am new to programming and can't figure this one out. Any help would be much appreciated!
Solved! Go to Solution.