How do I reference a user-made Class Library from a separate project?

I downloaded a sample Visual Studio project called EmailApplication from a website. I extracted the project and opened it in Visual Studio 2008. Then I built it and tried to run it with Control-F5. It gave me the following error:

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

Add an executable project to this solution which references the library project. Set the executable project as the startup project."

I am very new to Visual Studio and I have never used libraries or multiple projects. Do I create a New Project and then how do I reference the project EmailApplication from there?
dperlmaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul JacksonSoftware EngineerCommented:
Class Libraries are designed to be consumed by other project types. As described you would add a new peoject to the solution or add the class library to an existing solution and add a reference to it by right clicking the project you want to reference the class library with and selecting the projects tab and selecting the class library project.
In your new project you would then reference the project using its name ie. EmailApplication.suborfunctionname

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.