Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBenneth Paredis
4,597 PointsIm working on this project in visual studio and i need help :/
I made a class library project. now i try to run the code but it say "A project with an Output Type of Class Library Cannot be started directly" what am i doing wrong im so confused.
1 Answer
Jeremy McLain
Treehouse Guest TeacherYou'll need to go into the properties for the project (right click on the project name in the Solution Explorer and click properties). In the application tab, there's an option for output type. Change this from Class Library to Console Application.
You can also start out with your project as a console application by using the Console Application project template when you create a new project.
Benneth Paredis
4,597 PointsThank you very much !!!
Steven Parker
231,275 PointsSteven Parker
231,275 PointsYou'll need to share you code to enable someone to provide assistance.
You can share everything at once if you make a snapshot of your workspace and provide the link to it.