what the ....

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Why I got the following error ,when trying to run the project (debug->start):
"A project with an out put type of class librarry can not be start directly
..."
 
Hi Yosi,

I suspect you started a class library template when creating your project.
You need to change it to one of the application settings.
I don't have Visual Studio .Net right now, but it should be somewhere in your project/solution settings.
 
Why I got the following error ,when trying to run the project (debug->start):
"A project with an out put type of class librarry can not be start directly
.."

Either:

1) Your solution only contains class libraries (DLLs). You need to add a
project of type Windows Application, or Console Application, or similar (ie
an EXE).

2) You do have one, but it isn't marked as the startup project. Right-click
it in the solution explorer tree and choose 'Set as startup project'.

HTH,
Stu
 
Why I got the following error ,when trying to run the project (debug->start):
"A project with an out put type of class librarry can not be start directly
.."


You can't execute a class library.
A class library compiles to a dll file. Change the Project type in the
properties window of your project (the bold item underneath 'Solution
bla' is your project).

//Rutgert
 
Back
Top