Hello,
I'm using VB.Net in Visual Studio version 2010 with AutoCad 2010. I haven't had a problem with this before, but now it seems that the program ignores break points that I set in the code when I'm trying to debug. I just want to pause the code and add a "watch" to a variable.
Anyone have a step by step way to do this as the msn method isn't working.
Thanks,
Mark
Solved! Go to Solution.
Solved by adadnet. Go to Solution.
Hi,
>> I haven't had a problem with this before
So this project was already working in the debugger?
Additional questions:
- alfred -
if you have VS2010 EXpress you need to add this manualy in the 'file NameOfYouProject'.vbproj :
<StartAction>Program</StartAction>
<StartProgram>c:\Program Files\AutoCAD 2010\acad.exe</StartProgram>
after the line :
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
and after :
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
the site http://through-the-interface.typepad.com/t...... is for a registered VS2010. so Solution 1 and 3 you cant do this.
For Solution 2 it a file in your 'C:\Program Files\AutoCAD 2010' if you have this path for autocad.
Hello Alfred,
My project is a .dll.
I believe the only references I added were AcDbMgd.dll and AcMgd.dll from ObjectARX 2010, inc-x64.
As for the framework, where do I find that information?
Thanks,
Mark
Hello Felix,
Thank you for the link, but I'm a newbie at VB.Net and I'm not sure my program is what they are talking about. I don't see a "solution" in the Solution Explorer (see pics).
Thanks,
Mark
hi mark
sorry that was a bit short - i remember that what i did at the time was what kean refers to as solution 2 and that is allocate the acad configuration file, which doesn't contain much more than kean shows, and change the version to 4.0, in my case. i think this version then needs to conform to the project's target framework: project -> project properties to open the properties tab, highlight compile, scroll down and choose advanced compile options -> set your target framework at the bottom. (i hope that will see you through)
felix
Hi Felix,
I did what you did. I copied the text from Keans site (step 2) and put it in my acad.exe.config file. That did the trick.
Thanks,
Mark