Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Can't Debug project


Message #1 by "Ryan Lockhart" <rlockhart@p...> on Fri, 3 May 2002 15:45:14
I have used the Debugger before and actually was using it with this current
application until something change and I don't know what.  Now when I try 
to debug it gives this error:


A project with an Output Type of Class Library cannot be started directly.

In order to debug this project, go to the Debugging tab under Configuration
Settings in Project Properties, and set the Start Action to Start External
Program or Start URL.  Alternatively, you  can add a non-library project to
this solution that uses a reference to this project and set it as the
startup project.

I have tried all of these suggestion and nothing has worked for me.  Could
somebody please give tell what could be causing this and maybe more
specifics on how to remedy it.
Message #2 by "Dmitry Brook" <brook74@h...> on Fri, 03 May 2002 16:26:55 +0000
Cam't debug ? - write bugless code !!!! 0;)

>From: "Ryan Lockhart" <rlockhart@p...>
>Reply-To: "aspx_beginners" <aspx_beginners@p...>
>To: "aspx_beginners" <aspx_beginners@p...>
>Subject: [aspx_beginners] Can't Debug project
>Date: Fri, 3 May 2002 15:45:14
>
>I have used the Debugger before and actually was using it with this current
>application until something change and I don't know what.  Now when I try
>to debug it gives this error:
>
>
>A project with an Output Type of Class Library cannot be started directly.
>
>In order to debug this project, go to the Debugging tab under Configuration
>Settings in Project Properties, and set the Start Action to Start External
>Program or Start URL.  Alternatively, you  can add a non-library project to
>this solution that uses a reference to this project and set it as the
>startup project.
>
>I have tried all of these suggestion and nothing has worked for me.  Could
>somebody please give tell what could be causing this and maybe more
>specifics on how to remedy it.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

Message #3 by "Curtner, Lynn" <lynn.curtner@p...> on Fri, 3 May 2002 12:33:20 -0500
The project you're trying to debug is building a class library, presumably to be used in some other application.  To debug, open the
project of that other application, and debug from there...

HTH,
Lynn

> ----------
> From: 	Ryan Lockhart[SMTP:rlockhart@p...]
> Reply To: 	aspx_beginners
> Sent: 	Friday, May 03, 2002 10:45 AM
> To: 	aspx_beginners
> Subject: 	[aspx_beginners] Can't Debug project
> 
> I have used the Debugger before and actually was using it with this current
> application until something change and I don't know what.  Now when I try 
> to debug it gives this error:
> 
> 
> A project with an Output Type of Class Library cannot be started directly.
> 
> In order to debug this project, go to the Debugging tab under Configuration
> Settings in Project Properties, and set the Start Action to Start External
> Program or Start URL.  Alternatively, you  can add a non-library project to
> this solution that uses a reference to this project and set it as the
> startup project.
> 
> I have tried all of these suggestion and nothing has worked for me.  Could
> somebody please give tell what could be causing this and maybe more
> specifics on how to remedy it.
> 

  Return to Index