Link to home
Start Free TrialLog in
Avatar of dperlma
dperlma

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial