I suspect that you have .NET 2.0 beta installed on your machine. AutoCAD
will detect the latest runtime (2.0 in this case) and use it. However, VS
2003 can't debug applications running on .NET 2.0.
You must use VS2005 Beta to debug applications running on .NET 2.0. (MS has
some betas available for free on their website). Alternatively, you can
force AutoCAD to use .NET 1.1 instead on the latest .NET framework installed
on the machine. Open acad.exe.config and follow the instructions there.
Albert
wrote in message news:4907773@discussion.autodesk.com...
Hello
I am trying to create a managed application for AutoCAD. I have ACAD 2006
and VB.NET 2003 and Object ARX 2006. I downloaded the Labs for VB.NET for
the .NET API and I can't get past Lab 2. I created a new project in VB.NET
2003 using the "AutoCAD Managed VB Project Application".
I followed exactly what they say in Lab 2. When I hit F5 to debug it, it
starts acad.exe and the aqua-colored splash screen for ACAD2006 rolls down
like it usually does. Then the splash screen seems to abruptly stop (it
disappears, acad.exe stops running) and Visual Studio stops debugging as
returns to its previous state. I don't get any error messages at all.
I have no problems with AutoCAD at all when I run it independently. Why is
this happening? I am new to .NET so please be kind. 🙂