in the project file change the output type to library:
<OutputType>Library</OutputType>
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello , I have a console App Project and I want to convert it to class Library in order to extract the dll and use it in another console app project .. How can I achieve that? I have tried to create console app folders and add them in the class Library project and copy all whatever inside main function in class library class function and i removed the bin and obj and sln from the project ... can you tell me how can I do that as it is not working for me or do you have another way to do so ? Thank you
in the project file change the output type to library:
<OutputType>Library</OutputType>