Error in Microsoft Visual C # 2010 express

Asked By 20 points N/A Posted on -
qa-featured

Hello,

I downloaded SplashScreen when I opened a project and tried to run this program I got the following error message “A project with an output type of class library cannot be started directly”.

I am trying to learn C# now but getting these weird error messages.

How can I avoid these errors?

Can I fix it easily?

Suggest me properly what should I do?

Thanks for any help.

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 the startup project.

SHARE
Answered By 5 points N/A #166135

Error in Microsoft Visual C # 2010 express

qa-featured

Hello Jonathan

What you must do is to set up the Startup Project File. Right click on the project and click on Set as Startup Project.

I have provided you with two links in order for you to continue the work on the project.

StartUp Project File

StartUp Project

I hope you will find this information useful and it will solve your problem.

Randolph

Related Questions