.NET

.NET

Reply
*Carlos
Message 1 of 5 (252 Views)

Debugging C#, "Start Application" is Unavailable

252 Views, 4 Replies
07-25-2005 05:13 PM
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
*Laurence Skoropinski
Message 2 of 5 (252 Views)

Re: Debugging C#, "Start Application" is Unavailable

07-26-2005 12:33 AM in reply to: *Carlos
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
*Carlos
Message 3 of 5 (252 Views)

Re: Debugging C#, "Start Application" is Unavailable

07-26-2005 01:39 PM in reply to: *Carlos
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
Distinguished Contributor
fantum
Posts: 313
Registered: ‎12-06-2004
Message 4 of 5 (252 Views)

Re: Debugging C#, "Start Application" is Unavailable

07-26-2005 02:22 PM in reply to: *Carlos
After selecting 'Program' under "Debug", Apply the changes.
*Carlos
Message 5 of 5 (252 Views)

Re: Debugging C#, "Start Application" is Unavailable

07-26-2005 03:30 PM in reply to: *Carlos
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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.