re specify the autocad executable location in vs 2012

re specify the autocad executable location in vs 2012

Anonymous
Not applicable
1,285 Views
9 Replies
Message 1 of 10

re specify the autocad executable location in vs 2012

Anonymous
Not applicable

Trying to debug a program I originally developed for Autocad 2015 and built using the vs setup wizard, at the time I set the autocad executable location to C:\Program Files\Autodesk\AutoCAD 2015. Now trying to debug and get the error;

 

Capture.PNG

 

I cant for the life of me figure out how to redefine the location to C:\Program Files\Autodesk\AutoCAD 2016

 

Can anyone help?

 

Thanks

0 Likes
Accepted solutions (2)
1,286 Views
9 Replies
Replies (9)
Message 2 of 10

fieldguy
Advisor
Advisor

Project->Properties->Debug->Start Action

 

Debug.PNG

0 Likes
Message 3 of 10

wispoxy
Advisor
Advisor
Do you have AutoCAD 2015 uninstalled and completely removed?
0 Likes
Message 4 of 10

Anonymous
Not applicable

thanks for your reply, yeh 2015 is uninstalled

 

So in my debug tab i see:

 

Capture.PNG

 

using vs 2012

0 Likes
Message 5 of 10

wispoxy
Advisor
Advisor

@fieldguy Looks like you're using a different VS version.

0 Likes
Message 6 of 10

wispoxy
Advisor
Advisor
0 Likes
Message 7 of 10

Keith.Brown
Advisor
Advisor
Accepted solution

You should download and use the community edition.

 

You might try this article also http://through-the-interface.typepad.com/through_the_interface/2011/08/debugging-autocad-net-project...

0 Likes
Message 8 of 10

Anonymous
Not applicable

yeh just express version

 

I'm just going to have to copy and paste all forms and modules in to a new project I think. Bit of a nuisance.

0 Likes
Message 9 of 10

_gile
Consultant
Consultant
Accepted solution

Hi,

 

Even I agree with Keith (using Community Edition is better), FYI, the information concerning the application launched at startup is store in the .csproj (.vbproj, .fsproj) file or, if any, in the .csproj.user (.vbproj.user, .fsproj.user) file.

 

    <StartAction>Program</StartAction>
    <StartProgram>C:\Program Files\Autodesk\AutoCAD 2016\acad.exe</StartProgram>


Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 10 of 10

Anonymous
Not applicable

Thanks, yes much eaiser editing the .user file than starting a new project!

0 Likes