List Info

Thread: Class library project




Class library project
user name
2006-07-30 10:04:50
Hi All,
 
 ;
I am getting the following error when running a project.
 
A Project with an Output Type of Class Library cannot be started directly.

In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as startup porject.
 
Yeah I know since this project contains only c# classes without any executalbe aspx pages. So I need an help to debugg the classes in this project. But according to the error I need to add executalbe project and run debugg. Can anyone please help me in debugging the only classes project. I appreciate your early response.
 
Thanks
SD
 
 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group.
To post to this group, send email to DotNetDevelopmentgooglegroups.com
To unsubscribe from this group, send email to DotNetDevelopment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/DotNetDevelopment
-~----------~----~----~----~------~----~------~--~---

Class library project
user name
2006-07-30 12:28:30
A class library must be instantiated before it can be run -
it cannot
simply be "run" itself.

Create a WinForms app (for example) which references this
class
library, create an instance of the class library in the
Winforms app,
and then debug it.

On 30/07/06, SriVidya Duvva <sduvvagmail.com> wrote:
>
> Hi All,
>
>
> I am getting the following error when running a
project.
>
> A Project with an Output Type of Class Library cannot
be started directly.
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "DotNetDevelopment, VB.NET, C# .NET,
ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting"
group.
To post to this group, send email to DotNetDevelopmentgooglegroups.com
To unsubscribe from this group, send email to
DotNetDevelopment-unsubscribegooglegroups.com
For more options, visit this group at http
://groups.google.com/group/DotNetDevelopment
-~----------~----~----~----~------~----~------~--~---

Class library project
user name
2006-07-30 18:07:25
Even to debug a class library, you need to run it in some
executable
application. When it's classes are called in your Windows
application,
then you can set breakpoints wherever you need and debug to
your
heart's desire.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "DotNetDevelopment, VB.NET, C# .NET,
ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting"
group.
To post to this group, send email to DotNetDevelopmentgooglegroups.com
To unsubscribe from this group, send email to
DotNetDevelopment-unsubscribegooglegroups.com
For more options, visit this group at http
://groups.google.com/group/DotNetDevelopment
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )