Debugging C#, "Start Application" is Unavailable

Debugging C#, "Start Application" is Unavailable

Anonymous
Not applicable
827 Views
4 Replies
Message 1 of 5

Debugging C#, "Start Application" is Unavailable

Anonymous
Not applicable
Hello,

I'd like to debug my applications using C#, AutoCAD 2005, and VS 2003, but
when I go to Project->Properties->Debugging the "Start Application" option
is greyed-out.

I feel like I've tried changing every setting in that thing, but it never
allows me to start in AutoCAD.

Any ideas? Has anyone else had this problem?

Thanks for any help.

-Carlos
0 Likes
828 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Carlos, download the labs at
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627 and in
lab1 there is information on how to set debug mode

Laurence

"Carlos" wrote in message
news:4910684@discussion.autodesk.com...
Hello,

I'd like to debug my applications using C#, AutoCAD 2005, and VS 2003, but
when I go to Project->Properties->Debugging the "Start Application" option
is greyed-out.

I feel like I've tried changing every setting in that thing, but it never
allows me to start in AutoCAD.

Any ideas? Has anyone else had this problem?

Thanks for any help.

-Carlos
0 Likes
Message 3 of 5

Anonymous
Not applicable
Hi,

That lab was actually what I was following when I was trying to have VS
start AutoCAD. I cannot complete this step:

To test this in AutoCAD we can have Visual Studio start a session of
AutoCAD. Right click on "Lab1" in Solution Explorer and select "Properties".
In the Lab1 Property Pages dialog select "Configuration Properties >
Debugging. In the Start Action area, choose 'Program' under "Debug" and in
"Start applications" use the ellipses button and browse to acad.exe. After
changing this setting hit F5 to launch a session of AutoCAD.

The "Start Action" area is greyed out, including all of its constituents.

I cannot enable this option for any C# applications that I create. Anyone
know what settings I have to have in order to enable this?

Thanks,

Carlos




"Laurence Skoropinski" wrote in message
news:4910794@discussion.autodesk.com...
Carlos, download the labs at
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627 and in
lab1 there is information on how to set debug mode

Laurence

"Carlos" wrote in message
news:4910684@discussion.autodesk.com...
Hello,

I'd like to debug my applications using C#, AutoCAD 2005, and VS 2003, but
when I go to Project->Properties->Debugging the "Start Application" option
is greyed-out.

I feel like I've tried changing every setting in that thing, but it never
allows me to start in AutoCAD.

Any ideas? Has anyone else had this problem?

Thanks for any help.

-Carlos
0 Likes
Message 4 of 5

Anonymous
Not applicable
After selecting 'Program' under "Debug", Apply the changes.
0 Likes
Message 5 of 5

Anonymous
Not applicable
Oh my goodness,

I wasn't hitting Apply after changing it to Program. Sigh.

Thanks very much.

-Carlos


wrote in message news:4911738@discussion.autodesk.com...
After selecting 'Program' under "Debug", Apply the changes.
0 Likes