31
Views
2
Comments
Solved
A project with an Output type of Class Library cannot be started directly

Facing this issue A project with an Output type of Class Library cannot be started directly

Using Integration studio opening the code in Visual studio 2022

#intregation studio

UserImage.jpg
Raj Sharma
Solution

The project you have downloaded compiles into a dll assembly and provide a set of classes with implemented functionality.

You should add to your solution a new project with Output Type of either Console Application or Windows Application (VS Add Project wizard will offer you different templates of Projects).

In the newly added project, you can implement logic to test your Class Library.

Output type of the project you can find and change by the following steps:

  1. Right click on project in Solution Explorer -> Properties.

  2. In opened tab with properties select Application and there will be ComboBox marked with Output Type label.


Please refer this link:

https://stackoverflow.com/questions/3363106/a-project-with-an-output-type-of-class-library-cannot-be-started-directly


2024-10-07 06-43-19
Aanchal Sharma

Thank You for help @Raj Sharma its really helpful.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.